From 191c8a8cfbf22395ad8256dc41538a46ce7af94c Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 04 一月 2024 18:46:02 +0800
Subject: [PATCH] 销售 报价单目前是查询的对应的客户下的报价单,没有依赖于销售机会,修改为报价单依赖于选择的销售机会的查询

---
 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