From fc12c5f75c52149185328a20cfd08329098caa04 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 17 十月 2023 17:17:35 +0800
Subject: [PATCH] 客户名称模块跟进,跟进记录没有对应到客户的问题+联系人选择了对应客户还有提示的问题
---
src/views/client/client/index.vue | 3 ++-
src/views/client/contacts/AddContactsDialog.vue | 11 +++++------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/views/client/client/index.vue b/src/views/client/client/index.vue
index 6dfdd2d..585bd9d 100644
--- a/src/views/client/client/index.vue
+++ b/src/views/client/client/index.vue
@@ -376,7 +376,8 @@
client_name: row.name,
number: "",
codeStandID:'',
- next_follow_time: row.next_visit_time
+ next_follow_time: row.next_visit_time,
+ client_id:row.id
}
this.editFollowupConfig.visible = true
},
diff --git a/src/views/client/contacts/AddContactsDialog.vue b/src/views/client/contacts/AddContactsDialog.vue
index e90179a..f691b9b6 100644
--- a/src/views/client/contacts/AddContactsDialog.vue
+++ b/src/views/client/contacts/AddContactsDialog.vue
@@ -299,7 +299,7 @@
dialogWidth: "50%",
editConfig: this.editContactsConfig,
rules: {
- name: [{ required: true, message: "璇疯緭鍏�", trigger: ["change",'blur'] }],
+ name: [{ required: true, message: "璇疯緭鍏ヨ仈绯讳汉濮撳悕", trigger: ["change",'blur'] }],
number: [{ required: true, message: "璇疯緭鍏�", trigger: ["change",'blur'] }],
client_name: [{ required: true, message: "璇烽�夋嫨瀹㈡埛鍚嶇О", trigger: ["change",'blur'] }],
member_id: [{ required: true, message: "璇烽�夋嫨", trigger: ["change",'blur'] }],
@@ -479,16 +479,15 @@
},
selClient(row) {
console.log(row)
- this.editConfig.infomation.client_name = row.name
this.clientId = row.id
+ this.$set( this.editConfig.infomation,'client_name',row.name)
},
// 娓呴櫎宸查�夋嫨鐢ㄦ埛
clearupClient() {
- console.log("sssssssss")
- console.log(this.editConfig.infomation.client_name)
+ console.log(this.editConfig.infomation.client_name,'sssssssss')
// if (this.editConfig.infomation.client_name !== "") {
- this.editConfig.infomation.client_name = ""
- this.clientId = 0
+ this.clientId = null
+ this.$set(this.editConfig.infomation,'client_name','')
// }
},
// 娣诲姞闄勪欢
--
Gitblit v1.8.0