[update] 企业联系人验重
This commit is contained in:
@@ -529,6 +529,7 @@ export default {
|
|||||||
* @param callback
|
* @param callback
|
||||||
*/
|
*/
|
||||||
validateContact(rule, value, callback) {
|
validateContact(rule, value, callback) {
|
||||||
|
if (value) {
|
||||||
const contactObj = this.form.getFieldsValue(['contactsIdOne', 'contactsIdTwo', 'contactsIdThree'])
|
const contactObj = this.form.getFieldsValue(['contactsIdOne', 'contactsIdTwo', 'contactsIdThree'])
|
||||||
const contactArr = Object.values(contactObj)
|
const contactArr = Object.values(contactObj)
|
||||||
contactArr.filter(tt => tt !== undefined)
|
contactArr.filter(tt => tt !== undefined)
|
||||||
@@ -539,6 +540,9 @@ export default {
|
|||||||
callback()
|
callback()
|
||||||
}
|
}
|
||||||
callback()
|
callback()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
callback()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user