Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
cacd6eec
Commit
cacd6eec
authored
Apr 17, 2024
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加刷新商品信息功能
parent
1b645dcf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
102 additions
and
39 deletions
+102
-39
src/api/order.ts
+8
-1
src/types/api/order.ts
+5
-0
src/views/order/index.vue
+89
-38
No files found.
src/api/order.ts
View file @
cacd6eec
...
@@ -2,7 +2,7 @@ import { BasePaginationData, BaseRespData } from '@/types/api'
...
@@ -2,7 +2,7 @@ import { BasePaginationData, BaseRespData } from '@/types/api'
import
axios
from
'./axios'
import
axios
from
'./axios'
import
{
import
{
LogListData
,
LogListData
,
OrderData
,
OrderData
,
Refresh
,
SearchForm
,
SearchForm
,
SendOrderData
,
SendOrderData
,
ShipmentForm
,
ShipmentForm
,
...
@@ -136,3 +136,10 @@ export function cancelOrderApi(id: number) {
...
@@ -136,3 +136,10 @@ export function cancelOrderApi(id: number) {
{
id
},
{
id
},
)
)
}
}
export
function
refreshProductInfo
(
data
:
Refresh
[])
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'factory/customJomallOrder/refreshProductInfo'
,
data
,
)
}
src/types/api/order.ts
View file @
cacd6eec
...
@@ -16,6 +16,11 @@ export interface Tab {
...
@@ -16,6 +16,11 @@ export interface Tab {
quantity
:
number
quantity
:
number
}
}
export
interface
Refresh
{
id
:
number
}
export
interface
OrderData
{
export
interface
OrderData
{
id
:
number
id
:
number
namespace
?:
string
namespace
?:
string
...
...
src/views/order/index.vue
View file @
cacd6eec
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment