From af2b318da9d4c51b5b8afb2f4cefe86ff049bc7c Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期二, 17 十月 2023 21:16:45 +0800 Subject: [PATCH] feat: 添加缺失的请求 --- src/views/client/contacts/AddContactsDialog.vue | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) 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