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
b57023bc
Commit
b57023bc
authored
Apr 07, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 订单归档功能开发
parent
e348948e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/api/factoryOrderNew.ts
+3
-3
src/views/order/factoryOrderNew/index.vue
+1
-1
No files found.
src/api/factoryOrderNew.ts
View file @
b57023bc
...
@@ -156,9 +156,9 @@ export function cancelSuspendApi(ids: (number | string)[]) {
...
@@ -156,9 +156,9 @@ export function cancelSuspendApi(ids: (number | string)[]) {
})
})
}
}
export
function
archiveOrderApi
(
ids
:
(
number
|
string
)
[]
)
{
export
function
archiveOrderApi
(
ids
:
(
number
|
string
))
{
return
axios
.
post
<
never
,
BaseRespData
<
void
>>
(
'factory/orderNew/archive
'
,
{
return
axios
.
get
<
never
,
BaseRespData
<
void
>>
(
'factory/podOrder/archiving
'
,
{
ids
,
params
:
{
ids
}
,
})
})
}
}
...
...
src/views/order/factoryOrderNew/index.vue
View file @
b57023bc
...
@@ -1788,7 +1788,7 @@ const handleWeightSort = () => {
...
@@ -1788,7 +1788,7 @@ const handleWeightSort = () => {
const
handleArchiveOrder
=
async
()
=>
{
const
handleArchiveOrder
=
async
()
=>
{
await
executeBatchAction
({
await
executeBatchAction
({
getIds
:
getSelectedIds
,
getIds
:
getSelectedIds
,
api
:
archiveOrderApi
,
api
:
(
ids
)
=>
archiveOrderApi
(
ids
.
join
(
','
))
,
confirmText
:
'确定订单归档吗?'
,
confirmText
:
'确定订单归档吗?'
,
successText
:
'订单归档成功'
,
successText
:
'订单归档成功'
,
refreshTree
:
true
,
refreshTree
:
true
,
...
...
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