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
b2b82715
Commit
b2b82715
authored
Sep 08, 2022
by
huhaiqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交批量下载
parent
cdd9eca0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
box.js
src/api/ecw/box.js
+1
-0
index.vue
src/views/ecw/box/ladingBill/index.vue
+4
-2
No files found.
src/api/ecw/box.js
View file @
b2b82715
...
...
@@ -190,6 +190,7 @@ export function getBillService(params) {
export
function
zipDownload
(
params
)
{
return
request
({
url
:
"
/shipment/make-bill-of-lading/zipDownload
"
,
responseType
:
"
arraybuffer
"
,
method
:
"
get
"
,
params
,
});
...
...
src/views/ecw/box/ladingBill/index.vue
View file @
b2b82715
...
...
@@ -91,9 +91,10 @@ import {
deleteBillService
,
zipDownload
,
}
from
"
@/api/ecw/box
"
;
import
{
getTotlContent
,
getCapacity
,
serviceMsg
}
from
"
../shippingSea/utils
"
;
import
{
getTotlContent
,
getCapacity
}
from
"
../shippingSea/utils
"
;
import
makeLadingBill
from
"
./makeLadingBill.vue
"
;
import
previewBill
from
"
./previewBill.vue
"
;
import
FileSaver
from
"
file-saver
"
;
export
default
{
name
:
"
ladingBill
"
,
...
...
@@ -196,7 +197,8 @@ export default {
},
clickZipDownload() {
zipDownload({ shipmentId: this.shipmentObj.id }).then((res) => {
serviceMsg(res);
let blob = new Blob([res], { type: "application/zip" });
FileSaver.saveAs(blob, "打包文件.zip");
});
},
},
...
...
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