From 4e8e3e78c35ca2ff4a31f865561f0d5c4d89dad9 Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期二, 17 十月 2023 17:42:39 +0800 Subject: [PATCH] Merge branch 'dev' of ssh://192.168.5.5:29418/web/crm-web into dev --- src/views/sales/salesOpportunity/AddSalesOpportunityDialog.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/views/sales/salesOpportunity/AddSalesOpportunityDialog.vue b/src/views/sales/salesOpportunity/AddSalesOpportunityDialog.vue index 7f09501..1f1ef32 100644 --- a/src/views/sales/salesOpportunity/AddSalesOpportunityDialog.vue +++ b/src/views/sales/salesOpportunity/AddSalesOpportunityDialog.vue @@ -656,7 +656,7 @@ } this.getCommonData() this.formInfo() - if (this.editConfig.title === '缂栬緫'){ + if (this.editConfig.title === "缂栬緫") { this.isContact = false this.getContactList(this.editConfig.infomation.contact_id) } @@ -778,7 +778,6 @@ status_id: data.status_id || 0, threats: data.threats || "", whether_established: data.whether_established || "", - remark: data.remark || "", detail_address: data.detail_address || "", @@ -790,10 +789,11 @@ // 鑾峰彇鑱旂郴浜哄垪琛� getContactList(id) { getContactList({ - clientId: id, page: 0, pageSize: 0, - search_map: {} + search_map: { + client_id: id + } }).then((res) => { if (res.code == 200) { this.contactNamelist = res.data.list @@ -820,7 +820,7 @@ if (value === "client") { this.clientId = item.id this.editConfig.infomation.client_name = item.name - this.editConfig.infomation.contact_name = '' + this.editConfig.infomation.contact_name = "" this.contactId = 0 this.isContact = false this.getContactList(item.id) @@ -835,6 +835,7 @@ this.editSelectClientConfig.editVisible = true } else if (value === "contact") { this.editSelectContactConfig.editVisible = true + this.editSelectContactConfig.clientId = this.clientId } }, selClient(row, value) { @@ -844,7 +845,7 @@ } else if (value === "client") { this.editConfig.infomation.client_name = row.name this.clientId = row.id - this.editConfig.infomation.contact_name = '' + this.editConfig.infomation.contact_name = "" this.contactId = 0 this.isContact = false this.getContactList(row.id) -- Gitblit v1.8.0