From 2bddfed4566c862e825c212b5caaf4e46282c9c7 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 26 二月 2024 17:10:47 +0800
Subject: [PATCH] crm 报价单模块 选择销售机会反向赋值客户名称的逻辑处理

---
 src/views/sales/salesOpportunity/index.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/sales/salesOpportunity/index.vue b/src/views/sales/salesOpportunity/index.vue
index a1aab11..26cbea2 100644
--- a/src/views/sales/salesOpportunity/index.vue
+++ b/src/views/sales/salesOpportunity/index.vue
@@ -167,7 +167,7 @@
       this.search_map = {}
     } else {
       this.search_map = {
-        [this.addConfig.id_name]: this.addConfig.client_name
+        [this.addConfig.id_name]: this.addConfig.id
       }
     }
     this.getData(this.search_map)
@@ -175,6 +175,7 @@
   methods: {
     setTable() {
       this.tableList = {
+        selectIndex:true,
         tableInfomation: [],
         allcol: [],
         showcol: this.showCol,
@@ -348,7 +349,6 @@
     // 璺熻繘
     followupClick(row) {
       console.log(row)
-      this.editFollowupConfig.visible = true
       this.editFollowupConfig.title = "鏂板缓"
       this.editFollowupConfig.infomation = {
         ...row,
@@ -356,6 +356,8 @@
         sale_chance_name: row.name,
         sale_chance_id: row.id
       }
+      this.editFollowupConfig.infomation.codeStandID=''
+      this.editFollowupConfig.visible = true
     }
   }
 }

--
Gitblit v1.8.0