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')) }) },