task#13769,人员录入提交验证优化
This commit is contained in:
@ -331,7 +331,9 @@ export default {
|
|||||||
this.$toast('驾驶证副页未上传')
|
this.$toast('驾驶证副页未上传')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if( this.drivingLicenceName != this.driverName ) {
|
let drivingLicenceName=this.drivingLicenceName.replace(/[^\u4e00-\u9fff]+/g, '');
|
||||||
|
let driverName=this.driverName.replace(/[^\u4e00-\u9fff]+/g, '');
|
||||||
|
if( drivingLicenceName != driverName ) {
|
||||||
this.$toast('身份证信息与驾驶证信息不匹配')
|
this.$toast('身份证信息与驾驶证信息不匹配')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user