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
Show 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 {
this
.
getBillList
();
}
},
handleCommand
(
type
,
row
)
{
async
handleCommand
(
type
,
row
)
{
this
.
handleType
=
type
;
switch
(
type
)
{
case
"
previewBill
"
:
this
.
getBill
(
row
);
break
;
case
"
makeBill
"
:
this
.
makeBill
(
row
);
await
this
.
makeBill
(
row
);
break
;
case
"
queryBill
"
:
this
.
getBill
(
row
);
...
...
@@ -236,9 +236,10 @@ export default {
this
.
$set
(
this
.
dialogCfg
,
"
width
"
,
"
1200px
"
);
this
.
$set
(
this
.
dialogCfg
,
"
visible
"
,
true
);
},
makeBill
(
row
)
{
async
makeBill
(
row
)
{
let
api
=
this
.
type
!=
'
air
'
?
makeBillService
:
makeAirBillService
;
api
({
let
loading
=
this
.
$loading
()
await
api
({
orderId
:
row
.
orderId
,
shipmentId
:
this
.
shipmentObj
.
id
,
}).
then
((
res
)
=>
{
...
...
@@ -249,6 +250,10 @@ export default {
billContent
,
orderNo
:
this
.
currRow
.
orderNo
,
};
}).
catch
(()
=>
{
throw
new
Error
(
'
制作提单失败
'
)
}).
finally
(()
=>
{
loading
.
close
()
});
},
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