【bug】 添加参会人编辑企业重置上一次的选择的数据
This commit is contained in:
@@ -229,6 +229,13 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
/*
|
||||
* 清空邮寄联系人 地址 邮编
|
||||
* */
|
||||
clearFormItem(){
|
||||
// 选择企业清空 姓名 手机号
|
||||
this.form.resetFields(['postContactId','postContactAddress','postCode'])
|
||||
},
|
||||
|
||||
/*
|
||||
* 选择了联系人后给邮寄联系人和地址赋值
|
||||
|
||||
@@ -377,6 +377,11 @@ export default {
|
||||
* */
|
||||
changeCompany(value) {
|
||||
this.selectedCompany = value
|
||||
// 选择企业清空 姓名 手机号
|
||||
this.form.resetFields(['companyContactId','phone'])
|
||||
if(this.$refs.formother ){
|
||||
this.$refs.formother.clearFormItem()
|
||||
}
|
||||
},
|
||||
/*
|
||||
* 选择联系人获取信息
|
||||
|
||||
Reference in New Issue
Block a user