fix 80417
This commit is contained in:
@@ -533,9 +533,19 @@ export default {
|
||||
* 选择会员单位
|
||||
* */
|
||||
companyChange(val) {
|
||||
// 当前选中的企业和之前选中的企业一致,就不修改了
|
||||
if (this.selectedCompany && val && this.selectedCompany.id === val.id) {
|
||||
return
|
||||
}
|
||||
// 清除合同号
|
||||
this.form.setFieldsValue({ contractNo: undefined })
|
||||
this.selectedCompany = Object.assign({}, val)
|
||||
|
||||
// fix:80417 切换企业清空两个联系人
|
||||
this.form.setFieldsValue({
|
||||
companyContactId: undefined,
|
||||
postContactId: undefined
|
||||
})
|
||||
},
|
||||
handleCancel() {
|
||||
this.selectedCompany = null
|
||||
|
||||
Reference in New Issue
Block a user