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
4b18b42b
Commit
4b18b42b
authored
Dec 03, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化提单制作
parent
dab4ac79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
index.vue
src/views/ecw/box/ladingBill/index.vue
+9
-4
No files found.
src/views/ecw/box/ladingBill/index.vue
View file @
4b18b42b
...
@@ -195,14 +195,14 @@ export default {
...
@@ -195,14 +195,14 @@ export default {
this
.
getBillList
();
this
.
getBillList
();
}
}
},
},
handleCommand
(
type
,
row
)
{
async
handleCommand
(
type
,
row
)
{
this
.
handleType
=
type
;
this
.
handleType
=
type
;
switch
(
type
)
{
switch
(
type
)
{
case
"
previewBill
"
:
case
"
previewBill
"
:
this
.
getBill
(
row
);
this
.
getBill
(
row
);
break
;
break
;
case
"
makeBill
"
:
case
"
makeBill
"
:
this
.
makeBill
(
row
);
await
this
.
makeBill
(
row
);
break
;
break
;
case
"
queryBill
"
:
case
"
queryBill
"
:
this
.
getBill
(
row
);
this
.
getBill
(
row
);
...
@@ -236,9 +236,10 @@ export default {
...
@@ -236,9 +236,10 @@ export default {
this
.
$set
(
this
.
dialogCfg
,
"
width
"
,
"
1200px
"
);
this
.
$set
(
this
.
dialogCfg
,
"
width
"
,
"
1200px
"
);
this
.
$set
(
this
.
dialogCfg
,
"
visible
"
,
true
);
this
.
$set
(
this
.
dialogCfg
,
"
visible
"
,
true
);
},
},
makeBill
(
row
)
{
async
makeBill
(
row
)
{
let
api
=
this
.
type
!=
'
air
'
?
makeBillService
:
makeAirBillService
;
let
api
=
this
.
type
!=
'
air
'
?
makeBillService
:
makeAirBillService
;
api
({
let
loading
=
this
.
$loading
()
await
api
({
orderId
:
row
.
orderId
,
orderId
:
row
.
orderId
,
shipmentId
:
this
.
shipmentObj
.
id
,
shipmentId
:
this
.
shipmentObj
.
id
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
...
@@ -249,6 +250,10 @@ export default {
...
@@ -249,6 +250,10 @@ export default {
billContent
,
billContent
,
orderNo
:
this
.
currRow
.
orderNo
,
orderNo
:
this
.
currRow
.
orderNo
,
};
};
}).
catch
(()
=>
{
throw
new
Error
(
'
制作提单失败
'
)
}).
finally
(()
=>
{
loading
.
close
()
});
});
},
},
getBill
(
row
)
{
getBill
(
row
)
{
...
...
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