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

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

parent b5fdc1b8
......@@ -304,7 +304,6 @@ export function downloadCustomFiles(params) {
export function downloadLoadGoodsList(params) {
return request({
url: "/ecw/box-preload-goods/downloadLoadGoodsList",
responseType: "blob",
timeout: 3*60*1000,
method: "get",
params,
......
......@@ -104,7 +104,7 @@ import {
getMakeBillList,
makeBillService,
getBillService,
deleteBillService,
deleteBillService, zipDownload, downloadReceivableList,
} from "@/api/ecw/box";
import {
getTotlContent,
......@@ -218,12 +218,9 @@ export default {
);
return;
case "downloadReceivableList":
downloadFile(
type,
{ shipmentId: this.shipmentObj.id },
this.$t("应收汇总表") + `(${this.shipmentObj.selfNo}).xlsx`,
"xlsx"
);
downloadReceivableList({ shipmentId: this.shipmentObj.id }).then(res => {
this.$message.success(this.$t('已加入导出队列,请稍后在下载日志中下载'))
})
return;
}
this.currRow = row;
......@@ -256,12 +253,9 @@ export default {
});
},
clickZipDownload() {
downloadFile(
"zipDownload",
{ shipmentId: this.shipmentObj.id },
this.shipmentObj.selfNo + ".zip",
"zip"
);
zipDownload({ shipmentId: this.shipmentObj.id }).then(res => {
this.$message.success(this.$t('已加入导出队列,请稍后在下载日志中下载'))
})
},
},
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