From 0ec635d5e432be07c3103ac2e9bd25edb941f775 Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期三, 18 十月 2023 17:12:21 +0800 Subject: [PATCH] 跟进记录,销售明细单,退货单客户关联修改 --- src/views/client/followupRecords/AddFollowupRecordsDialog.vue | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/views/client/followupRecords/AddFollowupRecordsDialog.vue b/src/views/client/followupRecords/AddFollowupRecordsDialog.vue index 8fdce8a..da6f687 100644 --- a/src/views/client/followupRecords/AddFollowupRecordsDialog.vue +++ b/src/views/client/followupRecords/AddFollowupRecordsDialog.vue @@ -632,7 +632,9 @@ }, async handleSelectClient(value, item) { if (value === "client") { - console.log(item, "item") + this.editConfig.infomation.contact_name = "" + this.editConfig.infomation.sales_leads_name="" + this.editConfig.infomation.sale_chance_name="" this.editSelectContactConfig.search_map.client_id = item.id this.editSelectChanceConfig.search_map.client_id = item.id this.editSelectLeadConfig.search_map.name = item.name @@ -669,9 +671,9 @@ this.editConfig.infomation.contact_name = row.name this.contactId = row.id } else if (value === "client") { - // this.editConfig.infomation.client_name = row.name; - // this.clientId = row.id; - // this.isChance = false; + this.editConfig.infomation.contact_name = "" + this.editConfig.infomation.sales_leads_name="" + this.editConfig.infomation.sale_chance_name="" this.editSelectContactConfig.search_map.client_id = row.id this.editSelectChanceConfig.search_map.client_id = row.id this.editSelectLeadConfig.search_map.name = row.name @@ -692,6 +694,9 @@ // 娓呴櫎宸查�夋嫨鐢ㄦ埛 clearupClient(value) { if (value === "client") { + this.editConfig.infomation.contact_name = "" + this.editConfig.infomation.sales_leads_name="" + this.editConfig.infomation.sale_chance_name="" this.editConfig.infomation.client_name = "" this.clientId = 0 this.isChance = true -- Gitblit v1.8.0