Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
bff22b40
Commit
bff22b40
authored
Sep 04, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退仓 不审批
parent
51b38efc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
order.js
src/api/ecw/order.js
+10
-1
index.vue
src/views/ecw/order/warehousing/index.vue
+6
-4
No files found.
src/api/ecw/order.js
View file @
bff22b40
...
...
@@ -197,6 +197,15 @@ export function rollbackApply(data){
})
}
// 退仓-订单项退仓(不审批)
export
function
rollbackDelete
(
data
){
return
request
({
url
:
'
/order/order-warehouse-in/rollback-order-item
'
,
method
:
'
put
'
,
data
})
}
//取消订单
export
function
cancelOrder
(
orderId
){
return
request
({
...
...
src/views/ecw/order/warehousing/index.vue
View file @
bff22b40
...
...
@@ -170,7 +170,7 @@ import {
getOrderWarehouseIn
,
getSpecialListByOrderId
,
listByOrderId
,
orderWarehouseInFinish
,
rollback
Apply
rollback
Delete
}
from
'
@/api/ecw/order
'
import
orderBaseInfo
from
"
@/components/OrderBaseInfo
"
import
WarehouseAreaDialog
from
'
@/components/WarehouseAreaDialog
'
...
...
@@ -274,15 +274,17 @@ export default {
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
rollback
Apply
({
rollback
Delete
({
"
orderId
"
:
item
.
orderId
,
"
orderNo
"
:
item
.
orderNo
,
"
reason
"
:
""
"
orderItemId
"
:
item
.
orderItemId
}).
then
(()
=>
{
this
.
$message
({
type
:
'
success
'
,
message
:
'
申请退仓成功!
'
});
getOrderWarehouseIn
(
this
.
orderId
).
then
(
r
=>
this
.
orderItemList
=
r
.
data
.
reverse
())
getOrder
(
this
.
orderId
).
then
(
r
=>
this
.
order
=
r
.
data
)
})
}).
catch
(()
=>
{
...
...
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