瀏覽代碼

feature:销售单执行明细列表

chenqilong 2 年之前
父節點
當前提交
18df5f56cc
共有 1 個文件被更改,包括 17 次插入6 次删除
  1. 17 6
      src/views/supply/implement/implement_list.vue

+ 17 - 6
src/views/supply/implement/implement_list.vue

@@ -194,25 +194,36 @@ export default {
 
     // 列表导出函数
     exportList(...p) {
+      console.log(p)
       if (this.radioType === '政策零售订单') {
-        return retailExecPolicyListV2Export()
+        let params = {
+          ...p[0],
+          moduleId: this.setModuleId
+        }
+        return retailExecPolicyListV2Export(params, p[1])
       }
       if (this.radioType === '零售订单') {
-        return retailExecRetailV2Export()
+        let params = {
+          ...p[0],
+          moduleId: this.setModuleId
+        }
+        return retailExecRetailV2Export(params, p[1])
       }
       if (this.radioType === '家用工程订单') {
         let params = {
           ...p[0],
-          enginOrderType: 'HOME'
+          enginOrderType: 'HOME',
+          moduleId: this.setModuleId
         }
-        return retailExecEnginListV2Export(params)
+        return retailExecEnginListV2Export(params, p[1])
       }
       if (this.radioType === '商用工程订单') {
         let params = {
           ...p[0],
-          enginOrderType: 'TRADE'
+          enginOrderType: 'TRADE',
+          moduleId: this.setModuleId
         }
-        return retailExecEnginListV2Export(params)
+        return retailExecEnginListV2Export(params, p[1])
       }
     },
     // 表格列解析渲染数据更改