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
aaf48288
Commit
aaf48288
authored
Feb 28, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单等Bug
parent
34ca7ccf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
makeLadingBill.vue
src/views/ecw/box/ladingBill/makeLadingBill.vue
+4
-2
edit.vue
src/views/ecw/order/edit.vue
+6
-0
No files found.
src/views/ecw/box/ladingBill/makeLadingBill.vue
View file @
aaf48288
...
...
@@ -182,6 +182,7 @@ export default {
const
imgWidth
=
canvas
.
width
const
imgHeight
=
canvas
.
height
console
.
log
(
imgHeight
,
imgWidth
)
let
_w
=
595.28
;
let
_h
=
595.28
/
imgWidth
*
imgHeight
;
if
(
_h
>
841.89
){
...
...
@@ -194,12 +195,13 @@ export default {
return Promise.reject() */
let
form
=
new
FormData
()
let
file
=
this
.
selfNo
+
'
-
'
+
this
.
currRow
.
tidanNo
+
'
.pdf
'
form
.
append
(
'
file
'
,
new
File
([
doc
.
output
(
'
arraybuffer
'
)],
file
,
{
type
:
'
application/pdf
'
}))
form
.
append
(
'
path
'
,
`admin/shipment/
${
this
.
selfNo
}
/pdf/
${
file
}
`
)
// 最前面不能有/,否则返回的url会有两个/
/* let blob = new Blob([doc.output('arraybuffer')], {type: "application/pdf"})
FileSaver.saveAs(blob, file);
return
*/
FileSaver.saveAs(blob, file);
return
*/
return
uploadFile
(
form
)
}).
then
(
res
=>
{
return
this
.
submit
(
res
.
data
)
...
...
src/views/ecw/order/edit.vue
View file @
aaf48288
...
...
@@ -852,6 +852,12 @@ export default {
}
})
},
// 送货上门变化后需要判断当前选择的收货方式,如果选择了送货上门但是当前不支持送货上门则需要重置
homeDeliveryService
(
enable
){
if
(
!
enable
&&
this
.
form
.
harvestMethod
!=
1
){
this
.
form
.
harvestMethod
=
1
}
}
},
activated
(){
...
...
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