Commit 69753b07 authored by dragondean@qq.com's avatar dragondean@qq.com

提单下载错误提示

parent 86c7f282
...@@ -199,7 +199,6 @@ export function getBillService(params) { ...@@ -199,7 +199,6 @@ export function getBillService(params) {
export function zipDownload(params) { export function zipDownload(params) {
return request({ return request({
url: "/shipment/make-bill-of-lading/zipDownload", url: "/shipment/make-bill-of-lading/zipDownload",
responseType: "blob",
method: "get", method: "get",
timeout: 120000, timeout: 120000,
params, params,
...@@ -327,7 +326,6 @@ export function downloadPreloadGoodsList(params) { ...@@ -327,7 +326,6 @@ export function downloadPreloadGoodsList(params) {
export function downloadReceivableList(params) { export function downloadReceivableList(params) {
return request({ return request({
url: "/ecw/box-preload-goods/downloadReceivableList", url: "/ecw/box-preload-goods/downloadReceivableList",
responseType: "blob",
timeout: 3*60*1000, timeout: 3*60*1000,
method: "get", method: "get",
params, params,
......
...@@ -576,9 +576,6 @@ export default { ...@@ -576,9 +576,6 @@ export default {
this.exportLoading = true; this.exportLoading = true;
func(params).then(res => { func(params).then(res => {
console.log({res}) console.log({res})
if(!fileName){
fileName = this.$t('订单')
}
this.$message.success(this.$t('已加入导出队列,请稍后在下载日志中下载')) this.$message.success(this.$t('已加入导出队列,请稍后在下载日志中下载'))
// this.$download.excel(res, fileName + '.xls'); // this.$download.excel(res, fileName + '.xls');
}).finally(() => { }).finally(() => {
......
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