[update] 联系人手机号唯一性校验
This commit is contained in:
@@ -337,14 +337,15 @@ export default {
|
|||||||
}
|
}
|
||||||
const param = {
|
const param = {
|
||||||
confusionCode: 'pay_contacts_management_phone',
|
confusionCode: 'pay_contacts_management_phone',
|
||||||
fieldVal: value
|
fieldVal: value,
|
||||||
|
encrypt: 1
|
||||||
}
|
}
|
||||||
// 唯一性校验
|
// 唯一性校验
|
||||||
duplicateCheck(param).then(res => {
|
duplicateCheck(param).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
callback()
|
callback()
|
||||||
} else {
|
} else {
|
||||||
callback(res.message)
|
callback('手机号已存在')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user