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
34064273
Commit
34064273
authored
Aug 21, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
制作提单空运适配
parent
d4212bab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
makeLadingBill.vue
src/views/ecw/box/ladingBill/makeLadingBill.vue
+10
-1
No files found.
src/views/ecw/box/ladingBill/makeLadingBill.vue
View file @
34064273
...
...
@@ -178,6 +178,10 @@ export default {
},
// 先获取订单信息,pdf用 订单号+唛头命名
createPdf
(){
// 空运的由接口生成pdf,所以直接提交即可
if
(
this
.
$route
.
fullPath
.
toLowerCase
().
indexOf
(
'
air
'
)
>
-
1
){
return
this
.
submit
()
}
getOrder
(
this
.
currRow
.
orderId
).
then
(
res
=>
{
this
.
afterCreatePdf
(
res
.
data
)
})
...
...
@@ -218,11 +222,16 @@ export default {
},
submit
(
imgUrl
)
{
let
params
=
{
imgUrl
,
billContent
:
this
.
billContent
,
orderId
:
this
.
currRow
.
orderId
,
copyUserId
:
this
.
selectedUsers
,
};
// 有pdf地址则提交,没有则指定后端生成
if
(
imgUrl
){
params
.
imgUrl
=
imgUrl
}
else
{
params
.
needBackend
=
true
}
if
([
"
makeBill
"
,
"
resetBill
"
].
includes
(
this
.
dialogCfg
.
type
))
{
createBillService
({
...
params
,
status
:
1
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
((
res
)
=>
{
...
...
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