From 96f2c139fcc20b2293a1ecc34567456c4b106b89 Mon Sep 17 00:00:00 2001 From: SelfRidicule Date: Mon, 8 Apr 2024 14:15:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=8F=E8=BF=B0=EF=BC=9A=E4=BC=81=E4=B8=9A?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=91=98=E5=B7=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/admin/modules/CustomerContactsModal.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/admin/modules/CustomerContactsModal.vue b/src/views/admin/modules/CustomerContactsModal.vue index 890dead..8c8a384 100644 --- a/src/views/admin/modules/CustomerContactsModal.vue +++ b/src/views/admin/modules/CustomerContactsModal.vue @@ -12,7 +12,7 @@ - + @@ -232,6 +232,7 @@ export default { this.edit(contactInfo) }, edit (record) { + record.icsCustomerId = this.$route.query.customerId this.mdl = Object.assign(record) console.log(this.mdl.photo) if (this.mdl.photo) { @@ -242,7 +243,7 @@ export default { } this.visible = true this.$nextTick(() => { - this.form.setFieldsValue(pick(this.mdl, 'id','name','username','mobile','gender', + this.form.setFieldsValue(pick(this.mdl, 'id','icsCustomerId','name','username','mobile','gender', 'photo','avatar','cardNo','address','email','degree','urgent', 'customerId', 'remark')) }) },