From 0e858a61519b0eacc3a230aee20d76818b2b364c Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 29 二月 2024 09:48:21 +0800
Subject: [PATCH] 清空3项值刷新接口获取对应机会和报价列表

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

diff --git a/src/views/other/commonDialog/SelectChanceDialog.vue b/src/views/other/commonDialog/SelectChanceDialog.vue
index 2d8af06..72355fa 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,12 @@
     }
   },
   created() {
+    if(this.editConfig.clientId){
+      this.search_map = {
+        client_id: this.editConfig.clientId
+      }
+    }
+    
     this.setTable()
     this.getData()
   },
@@ -122,7 +128,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