From 979d725972cf15470422039eff86206398562d93 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 21 十二月 2023 15:38:36 +0800
Subject: [PATCH] 报价单 销售机会的必填和非必填从自动获取编码接口的header获取,对应的需要修改拦截器里方法

---
 src/views/other/commonDialog/SelectChanceDialog.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/views/other/commonDialog/SelectChanceDialog.vue b/src/views/other/commonDialog/SelectChanceDialog.vue
index 2d8af06..0c1ed41 100644
--- a/src/views/other/commonDialog/SelectChanceDialog.vue
+++ b/src/views/other/commonDialog/SelectChanceDialog.vue
@@ -54,8 +54,8 @@
         return {
           editVisible: false,
           title: "",
-          infomation: {},
-          search_map:{}
+          clientId: 0,
+          infomation: {}
         }
       }
     }
@@ -83,6 +83,9 @@
     }
   },
   created() {
+    this.search_map = {
+      client_id: this.editConfig.clientId
+    }
     this.setTable()
     this.getData()
   },
@@ -122,7 +125,7 @@
     async getData() {
       this.loading = true
       await getSaleChanceList({
-        search_map: this.editCommonConfig.search_map,
+        search_map: this.search_map,
         page: this.pagerOptions.currPage,
         pageSize: this.pagerOptions.pageSize
       })

--
Gitblit v1.8.0