From 349b09cb9956fed186786dfb1b4c17723d5e8464 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 16 十月 2023 15:42:31 +0800
Subject: [PATCH] 销售线索,省份 不能切换,城市的下拉无数据。销售明细单收款单,添加成功跳转登录,接口没有加入白名单

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

diff --git a/src/views/client/followupRecords/index.vue b/src/views/client/followupRecords/index.vue
index e593d33..72a09e5 100644
--- a/src/views/client/followupRecords/index.vue
+++ b/src/views/client/followupRecords/index.vue
@@ -249,22 +249,25 @@
     },
     // 鎼滅储
     onFilterSearch(searchText) {
-      this.search_map.name = searchText ?? ""
+      this.search_map.client_name = searchText ?? ""
       this.pagerOptions.currPage = 1
       this.getData()
     },
     // 鏂板缓
     addBtnClick() {
-      this.editConfig.visible = true
       this.editConfig.title = "鏂板缓"
       this.editConfig.infomation = { ...this.addConfig }
+      this.editConfig.visible = true
     },
     // 缂栬緫
     handleClick(row) {
       console.log(row)
-      this.editConfig.visible = true
       this.editConfig.title = "缂栬緫"
-      this.editConfig.infomation = { ...row, sale_chance_name: "", sales_leads_name: "" }
+      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.visible = true
     },
     // 鍒犻櫎
     delClick(id) {

--
Gitblit v1.8.0