From 96fdf32bd5612b6c16dcbcc8352a9f54adcc8e7e Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期五, 18 八月 2023 16:26:59 +0800
Subject: [PATCH] 產品相關及bug修復

---
 src/views/client/salesLead/index.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/views/client/salesLead/index.vue b/src/views/client/salesLead/index.vue
index 73e5bee..ee03fb4 100644
--- a/src/views/client/salesLead/index.vue
+++ b/src/views/client/salesLead/index.vue
@@ -136,10 +136,10 @@
           { label: "閿�鍞嚎绱㈢紪鍙�", prop: "number", min: 130 }, // 閿�鍞嚎绱㈢紪鍙�
           { label: "鑱旂郴浜哄鍚�", prop: "contact_name", min: 130 }, // 鑱旂郴浜哄鍚�
           { label: "鎵嬫満鍙风爜", prop: "contact_phone", min: 130 }, // 鎵嬫満鍙风爜
-          { label: "鍟嗘満鏉ユ簮", prop: "sales_sources_id", min: 130 }, // 鍟嗘満鏉ユ簮
+          { label: "鍟嗘満鏉ユ簮", prop: "sales_resources", min: 130 }, // 鍟嗘満鏉ユ簮
           { label: "鐪佷唤", prop: "province", min: 130 }, // 鐪佷唤
           { label: "鍩庡競", prop: "city", min: 130 }, // 鍩庡競
-          { label: "璐熻矗浜�", prop: "member_id", min: 130 } // 璐熻矗浜�
+          { label: "璐熻矗浜�", prop: "member_name", min: 130 } // 璐熻矗浜�
         ]
       }
       this.searchOptions = []
@@ -161,7 +161,9 @@
             return {
               ...item,
               province: item.Province.name,
-              city: item.City.name
+              city: item.City.name,
+              sales_resources: item.sales_sources.name,
+              member_name: item.member.username
             }
           })
           this.tableList.tableInfomation = list || []
@@ -187,7 +189,7 @@
     addBtnClick() {
       this.editSalesLeadConfig.visible = true
       this.editSalesLeadConfig.title = "鏂板缓"
-      this.editSalesLeadConfig.infomation = { businessStatus: "鏂板缓" }
+      this.editSalesLeadConfig.infomation = { businessStatus: "鏂板缓", city_id: 0 }
     },
     // 缂栬緫
     handleClick(row) {

--
Gitblit v1.8.0