fix 80416
This commit is contained in:
@@ -473,6 +473,19 @@ export default {
|
||||
'remark'
|
||||
)
|
||||
)
|
||||
/* fix:80416 如果联系人找不到就回显空,而不是显示id */
|
||||
// 查找企业联系人,找不到就置空
|
||||
this.$refs.selectContacts.getContactsList().finally(() => {
|
||||
if (!this.$refs.selectContacts.contactsList.find(item => item.id === this.model.companyContactId)) {
|
||||
this.form.setFieldsValue({ companyContactId: undefined })
|
||||
}
|
||||
})
|
||||
// 查找邮寄联系人,找不到就置空
|
||||
this.$refs.selectMailContacts.getContactsList().finally(() => {
|
||||
if (!this.$refs.selectMailContacts.contactsList.find(item => item.id === this.model.postContactId)) {
|
||||
this.form.setFieldsValue({ postContactId: undefined })
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
// 选择企业联系人 带出邮寄联系人
|
||||
|
||||
Reference in New Issue
Block a user