From ea2b5a4a2779a2a94c4846b110c5507a248ffeb5 Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期三, 20 三月 2024 19:50:25 +0800
Subject: [PATCH] 销售明细发货添加确认完成,格式化列表状态展示

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