Commit 61133078 by chenwq

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

将导出功能的参数从tableSearchForm改为searchForm,并更新对应的API方法名和导出文件名
1 parent 793fcd52
......@@ -417,7 +417,7 @@ export default {
},
handleExport() {
// this.filterSearchTime()
var params = this.tableSearchForm
var params = deepClone(this.searchForm)
// 处理查询条件时间
// for (const key in params) {
// if (key == 'orderTimeStr') {
......@@ -427,11 +427,11 @@ export default {
// delete params[key]
// }
// }
params.method = 'dj.api.smarcarlife.purchaseOrder.export.async'
params.method = 'dj.api.smarcarlife.warehousedeliver.export.async '
const list = [
...this.dowloadList,
{
name: '采购发货',
name: '仓库/工厂发货',
exportParam: JSON.stringify(params),
status: 'waiting',
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!