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
1bf66983
Commit
1bf66983
authored
Jun 02, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单可出操作
parent
e7493a3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
2 deletions
+23
-2
order.js
src/api/ecw/order.js
+7
-1
index.vue
src/views/ecw/order/index.vue
+16
-1
No files found.
src/api/ecw/order.js
View file @
1bf66983
...
...
@@ -748,4 +748,10 @@ export function splitItemUpdate(data){
data
})
}
// 确认订单可出
export
function
setCanShipment
(
orderId
){
return
request
({
url
:
'
/air/order/can/shipment/
'
+
orderId
,
method
:
'
put
'
,
})
}
src/views/ecw/order/index.vue
View file @
1bf66983
...
...
@@ -346,6 +346,12 @@
)"
>
<el-dropdown-item
@
click.native=
"handleUpdate(scope.row, true)"
v-hasPermi=
"['ecw:order:update_channel']"
>
{{
$t
(
'
变更出货渠道
'
)
}}
</el-dropdown-item>
</
template
>
<!--可出,待出的时候显示-->
<
template
v-if=
"(
scope.row.airShipment == 1
)"
>
<el-dropdown-item
@
click.native=
"setCanShipment(scope.row)"
v-hasPermi=
"['ecw:order:can_shipment']"
>
{{
$t
(
'
可出
'
)
}}
</el-dropdown-item>
</
template
>
</el-dropdown-menu>
</el-dropdown>
...
...
@@ -511,7 +517,7 @@ import {
exportCustomsDatas
,
exportShippingDatas
,
exportShipFee
,
exportUnload
,
splitCancelApply
,
orderSplitRevoke
exportUnload
,
splitCancelApply
,
orderSplitRevoke
,
setCanShipment
}
from
"
@/api/ecw/order
"
;
/* import { getDictDatas, DICT_TYPE } from '@/utils/dict'; */
import
PrintTag
from
'
./components/PrintTag
'
...
...
@@ -899,6 +905,15 @@ export default {
onBatchClose
(){
this
.
showBatchPickup
=
false
this
.
handleQuery
()
},
// 设置可出
setCanShipment
(
row
){
this
.
$confirm
(
this
.
$t
(
`您确定要将订单
${
row
.
orderNo
}
设置为可出吗?`
)).
then
(()
=>
{
setCanShipment
(
row
.
orderId
)
}).
then
(
res
=>
{
this
.
$message
.
success
(
res
.
message
||
this
.
$t
(
'
操作成功
'
))
this
.
getList
()
})
}
}
};
...
...
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