From 26c39cd359bc0d2edc88408ff51ef70554e32a90 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 29 二月 2024 09:48:17 +0800
Subject: [PATCH] 跟进记录明细报价单没点击弹框下拉数据为空的问题选择机会或者报价单赋值客户名称

---
 src/views/client/followupRecords/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/client/followupRecords/index.vue b/src/views/client/followupRecords/index.vue
index 4904afc..5edba03 100644
--- a/src/views/client/followupRecords/index.vue
+++ b/src/views/client/followupRecords/index.vue
@@ -171,10 +171,11 @@
       if (this.addConfig.keywordType === "閿�鍞満浼�") {
         content = this.addConfig.id
       } else {
-        content = this.addConfig.common_name
+        content = this.addConfig.id
       }
       this.search_map = {
-        [this.addConfig.id_name]: content
+        // [this.addConfig.id_name]: content
+        contact_id: content
       }
     }
     this.getData(this.search_map)
@@ -266,7 +267,7 @@
       let config=JSON.parse(JSON.stringify(row));
       config.client_status_id=config.client_status_id?config.client_status_id:null
       config.contact_information_id=config.contact_information_id?config.contact_information_id:null
-      this.editConfig.infomation = { ...config, sale_chance_name: "", sales_leads_name: "" }
+      this.editConfig.infomation = { ...config, sale_chance_name:row.sale_chance.name, sales_leads_name: "" }
       this.editConfig.visible = true
     },
     // 鍒犻櫎

--
Gitblit v1.8.0