Commit e3659190 authored by dragondean@qq.com's avatar dragondean@qq.com

待出和备货列表导出改异步

parent e57cea05
......@@ -453,7 +453,7 @@ export default {
this.exporting = true
const exportParams = Array.isArray(params) ? {orderIdList: params} : {...params}
exportWaitingShipment(exportParams).then(res => {
this.$download.excel(res, this.$t('待出订单') + '.xls');
this.$message.success(this.$t('已加入导出队列,请稍后在下载日志中下载'))
}).finally(() => {
this.exporting = false
})
......
......@@ -349,7 +349,8 @@ export default {
exportXls(params){
this.exporting = true
exportCanShipment(params).then(res => {
this.$download.excel(res, this.$t('备货订单') + '.xls');
// this.$download.excel(res, this.$t('备货订单') + '.xls');
this.$message.success(this.$t('已加入导出队列,请稍后在下载日志中下载'))
}).finally(() => {
this.exporting = false
})
......
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