Commit 61133078 by chenwq

fix(采购发货): 修正导出功能参数和方法名错误

将导出功能的参数从tableSearchForm改为searchForm,并更新对应的API方法名和导出文件名
1 parent 793fcd52
...@@ -417,7 +417,7 @@ export default { ...@@ -417,7 +417,7 @@ export default {
}, },
handleExport() { handleExport() {
// this.filterSearchTime() // this.filterSearchTime()
var params = this.tableSearchForm var params = deepClone(this.searchForm)
// 处理查询条件时间 // 处理查询条件时间
// for (const key in params) { // for (const key in params) {
// if (key == 'orderTimeStr') { // if (key == 'orderTimeStr') {
...@@ -427,11 +427,11 @@ export default { ...@@ -427,11 +427,11 @@ export default {
// delete params[key] // delete params[key]
// } // }
// } // }
params.method = 'dj.api.smarcarlife.purchaseOrder.export.async' params.method = 'dj.api.smarcarlife.warehousedeliver.export.async '
const list = [ const list = [
...this.dowloadList, ...this.dowloadList,
{ {
name: '采购发货', name: '仓库/工厂发货',
exportParam: JSON.stringify(params), exportParam: JSON.stringify(params),
status: 'waiting', status: 'waiting',
timeid: new Date().getTime() timeid: new Date().getTime()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!