Commit 44219b43 authored by dragondean@qq.com's avatar dragondean@qq.com

编辑提单页面打包下载和应收下载提示

parent b5fdc1b8
...@@ -304,7 +304,6 @@ export function downloadCustomFiles(params) { ...@@ -304,7 +304,6 @@ export function downloadCustomFiles(params) {
export function downloadLoadGoodsList(params) { export function downloadLoadGoodsList(params) {
return request({ return request({
url: "/ecw/box-preload-goods/downloadLoadGoodsList", url: "/ecw/box-preload-goods/downloadLoadGoodsList",
responseType: "blob",
timeout: 3*60*1000, timeout: 3*60*1000,
method: "get", method: "get",
params, params,
......
...@@ -104,7 +104,7 @@ import { ...@@ -104,7 +104,7 @@ import {
getMakeBillList, getMakeBillList,
makeBillService, makeBillService,
getBillService, getBillService,
deleteBillService, deleteBillService, zipDownload, downloadReceivableList,
} from "@/api/ecw/box"; } from "@/api/ecw/box";
import { import {
getTotlContent, getTotlContent,
...@@ -218,12 +218,9 @@ export default { ...@@ -218,12 +218,9 @@ export default {
); );
return; return;
case "downloadReceivableList": case "downloadReceivableList":
downloadFile( downloadReceivableList({ shipmentId: this.shipmentObj.id }).then(res => {
type, this.$message.success(this.$t('已加入导出队列,请稍后在下载日志中下载'))
{ shipmentId: this.shipmentObj.id }, })
this.$t("应收汇总表") + `(${this.shipmentObj.selfNo}).xlsx`,
"xlsx"
);
return; return;
} }
this.currRow = row; this.currRow = row;
...@@ -256,12 +253,9 @@ export default { ...@@ -256,12 +253,9 @@ export default {
}); });
}, },
clickZipDownload() { clickZipDownload() {
downloadFile( zipDownload({ shipmentId: this.shipmentObj.id }).then(res => {
"zipDownload", this.$message.success(this.$t('已加入导出队列,请稍后在下载日志中下载'))
{ shipmentId: this.shipmentObj.id }, })
this.shipmentObj.selfNo + ".zip",
"zip"
);
}, },
}, },
computed: { computed: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment