Commit 17f53859 authored by dragondean@qq.com's avatar dragondean@qq.com

下载提货单提示

parent 7c9c5e42
...@@ -201,7 +201,7 @@ import { ...@@ -201,7 +201,7 @@ import {
exportboxExcel, exportboxExcel,
getNoticeList, getNoticeList,
dealCustomsSplitNotify, dealCustomsSplitNotify,
exportPreloadGoodsList, downloadReceivableList, getAirNoticeList exportPreloadGoodsList, downloadReceivableList, getAirNoticeList, zipDownload
} from '@/api/ecw/box' } from '@/api/ecw/box'
import { getChannelList } from '@/api/ecw/channel' import { getChannelList } from '@/api/ecw/channel'
import { getWarehouseList } from '@/api/ecw/warehouse' import { getWarehouseList } from '@/api/ecw/warehouse'
...@@ -537,12 +537,13 @@ export default { ...@@ -537,12 +537,13 @@ export default {
); );
break; break;
case "zipDownload": case "zipDownload":
downloadFile( /*downloadFile(
command, command,
{shipmentId: row.id}, {shipmentId: row.id},
this.$t("提货单") + `(${row.selfNo}).zip`, this.$t("提货单") + `(${row.selfNo}).zip`,
"zip" "zip"
); );*/
this.exportExcel(zipDownload, { shipmentId: row.id }, this.$t("提货单") + `(${row.selfNo}).zip`)
break; break;
case "downloadAgentListFiles": case "downloadAgentListFiles":
case "downloadSoncapFiles": case "downloadSoncapFiles":
......
...@@ -209,11 +209,11 @@ ...@@ -209,11 +209,11 @@
<script> <script>
import { import {
deletebox, deletebox,
getbox, getbox,
getboxPage, getboxPage,
exportboxExcel, exportboxExcel,
getNoticeList, dealCustomsSplitNotify, exportPreloadGoodsList, getNoticeList, dealCustomsSplitNotify, exportPreloadGoodsList, zipDownload,
} from "@/api/ecw/box"; } from "@/api/ecw/box";
import { import {
downloadFile, downloadFile,
...@@ -514,12 +514,13 @@ export default { ...@@ -514,12 +514,13 @@ export default {
); );
break; break;
case "zipDownload": case "zipDownload":
downloadFile( /* downloadFile(
command, command,
{ shipmentId: row.id }, { shipmentId: row.id },
this.$t("提货单") + `(${row.selfNo}).zip`, this.$t("提货单") + `(${row.selfNo}).zip`,
"zip" "zip"
); );*/
this.exportExcel(zipDownload, { shipmentId: row.id }, this.$t("提货单") + `(${row.selfNo}).zip`)
break; break;
case "downloadAgentListFiles": case "downloadAgentListFiles":
case "downloadSoncapFiles": case "downloadSoncapFiles":
......
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