From 85a5e415a9f5534551809564ce5e7ea38430377f Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期一, 18 三月 2024 15:25:11 +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