资料目录维护文件夹名称唯一性校验

This commit is contained in:
zhaoxiao
2021-09-03 10:07:03 +08:00
parent 3bcaacb4b6
commit f7df178fea
2 changed files with 32 additions and 3 deletions
@@ -389,10 +389,12 @@ export default {
*/
companyChange(value) {
this.selectedCompany = value
this.model.contactsId = undefined
this.model.contactsIdOne = undefined
this.model.contactsIdTwo = undefined
this.model.contactsIdThree = undefined
this.model.mailContactsId = undefined
this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model, 'contactsId', 'mailContactsId'))
this.form.setFieldsValue(pick(this.model, 'contactsIdOne', 'contactsIdTwo', 'contactsIdThree', 'mailContactsId'))
})
},
/**