From 504e00da9a9898ac419e97f93fc66cc7c7c6f620 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 28 二月 2024 14:30:25 +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