task#13769,人员录入提交验证优化

This commit is contained in:
2024-05-15 17:44:14 +08:00
parent 2c59b0f5a0
commit 916c667d7c

View File

@ -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
} }