From 46ed69e3b72658140a40127f4bae16bef9a02d56 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期一, 21 八月 2023 11:23:34 +0800
Subject: [PATCH] bug修复

---
 src/views/sales/salesOpportunity/index.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/views/sales/salesOpportunity/index.vue b/src/views/sales/salesOpportunity/index.vue
index 7d04bf4..640b3d3 100644
--- a/src/views/sales/salesOpportunity/index.vue
+++ b/src/views/sales/salesOpportunity/index.vue
@@ -159,7 +159,7 @@
           { label: "閿�鍞満浼氱紪鍙�", prop: "number" }, // 閿�鍞満浼氱紪鍙�
           { label: "鑱旂郴浜哄鍚�", prop: "contact_name", min: 100, isContactClick: true }, // 鑱旂郴浜哄鍚�
           { label: "閿�鍞樁娈�", prop: "sale_stage_name" }, // 閿�鍞樁娈�
-          { label: "鍙兘鎬�(%)", prop: "possibilities" }, // 鍙兘鎬�
+          { label: "鍙兘鎬�(%)", prop: "possibility_name" }, // 鍙兘鎬�
           { label: "棰勮鎴愪氦鏃ユ湡", prop: "expected_time", min: 130 }, // 棰勮鎴愪氦鏃ユ湡
           { label: "棰勮鍚堝悓閲戦", prop: "projected_amount" }, // 棰勮鍚堝悓閲戦
           { label: "棰勭畻缁濆鍊�", prop: "capital_budget" }, // 棰勭畻缁濆鍊�
@@ -190,7 +190,9 @@
                   ...item,
                   client_name: item.client.name,
                   contact_name: item.contact.name,
-                  sale_stage_name: item.sale_stage.name
+                  sale_stage_name: item.sale_stage.name,
+                  member_name: item.member.username,
+                  possibility_name: item.possibility.name
                 }
               })
               this.tableList.tableInfomation = list || []
@@ -281,7 +283,13 @@
     selContactsClick(row) {
       console.log(row)
       this.contactsDeail.visible = true
-      this.contactsDeail.infomation = { ...row.contact, sale_chance_name: row.name, sale_chance_id: row.id }
+      this.contactsDeail.infomation = {
+        ...row.contact,
+        sale_chance_name: row.name,
+        sale_chance_id: row.id,
+        Client: { name: row.client.name, client_status_id: row.client.client_status_id },
+        client_name: row.name
+      }
     },
     // 鏈轰細鍚嶇О璇︽儏
     selCommonClick(row) {

--
Gitblit v1.8.0