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
0b6add3e
Commit
0b6add3e
authored
Oct 29, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分拣后不显示不可出
parent
c6f998b1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
+15
-4
box.js
src/api/ecw/box.js
+9
-0
index.vue
src/views/ecw/box/ladingBill/index.vue
+5
-3
index.vue
src/views/ecw/order/index.vue
+1
-1
No files found.
src/api/ecw/box.js
View file @
0b6add3e
...
...
@@ -143,6 +143,15 @@ export function makeBillService(params) {
});
}
// 空运制作提单
export
function
makeAirBillService
(
params
)
{
return
request
({
url
:
"
/shipment/make-bill-of-lading/airMake
"
,
method
:
"
get
"
,
params
,
});
}
// 创建制作提货单
export
function
createBillService
(
data
)
{
return
request
({
...
...
src/views/ecw/box/ladingBill/index.vue
View file @
0b6add3e
...
...
@@ -111,7 +111,7 @@ import {
getMakeBillList
,
makeBillService
,
getBillService
,
deleteBillService
,
zipDownload
,
downloadReceivableList
,
deleteBillService
,
zipDownload
,
downloadReceivableList
,
makeAirBillService
,
downloadAirReceivableList
,
}
from
"
@/api/ecw/box
"
;
import
{
getTotlContent
,
...
...
@@ -225,7 +225,8 @@ export default {
);
return
;
case
"
downloadReceivableList
"
:
downloadReceivableList
({
shipmentId
:
this
.
shipmentObj
.
id
}).
then
(
res
=>
{
const
api
=
this
.
type
==
'
air
'
?
downloadAirReceivableList
:
downloadReceivableList
;
api
({
shipmentId
:
this
.
shipmentObj
.
id
}).
then
(
res
=>
{
this
.
$message
.
success
(
this
.
$t
(
'
已加入导出队列,请稍后在下载日志中下载
'
))
})
return
;
...
...
@@ -236,7 +237,8 @@ export default {
this
.
$set
(
this
.
dialogCfg
,
"
visible
"
,
true
);
},
makeBill
(
row
)
{
makeBillService
({
let
api
=
this
.
type
!=
'
air
'
?
makeBillService
:
makeAirBillService
;
api
({
orderId
:
row
.
orderId
,
shipmentId
:
this
.
shipmentObj
.
id
,
}).
then
((
res
)
=>
{
...
...
src/views/ecw/order/index.vue
View file @
0b6add3e
...
...
@@ -373,7 +373,7 @@
</
template
>
<!--不可出-->
<
template
v-if=
"include(scope.row.airShipment, [2,3,4])"
>
<
template
v-if=
"include(scope.row.airShipment, [2,3,4])
&& scope.row.status < 11
"
>
<el-dropdown-item
@
click.native=
"setCanNotShipment(scope.row)"
v-hasPermi=
"['ecw:order:setCanNotShipment']"
>
{{
$t
(
'
不可出
'
)
}}
</el-dropdown-item>
</
template
>
</el-dropdown-menu>
...
...
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