From d7d388e53fd71f9a02c71302a007d443e54a27ef Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 27 二月 2024 16:59:48 +0800
Subject: [PATCH] 销售机会报价单是否显示列表弹框的逻辑修改选择报价单赋对应的销售机会客户名称选择销售机会赋对应客户名称

---
 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