diff --git a/src/views/ebiz/sale/js/verification.js b/src/views/ebiz/sale/js/verification.js index ce15fac6d..97d64e522 100644 --- a/src/views/ebiz/sale/js/verification.js +++ b/src/views/ebiz/sale/js/verification.js @@ -188,17 +188,17 @@ export function idNoCheck8(userInfo,type) { let thisAge2 = utilsAge.getAge(userInfo.birthday, new Date(date8.replace(/-/g,'/'))) if(thisAge1 >= 18 && thisAge2 < 18){ return { - text: '外国人永久居留身份证证件有效期有误1' + text: '外国人永久居留身份证证件有效期有误' } } - if(date3 > new Date().getTime()) { + if(thisAge1 < 18 && date3 > new Date().getTime()) { return { - text: '外国人永久居留身份证证件有效期有误2' + text: '外国人永久居留身份证证件有效期有误' } } - if(date7 > new Date().getTime()) { + if(thisAge2 >= 18 &&date7 > new Date().getTime()) { return { - text: '外国人永久居留身份证证件有效期有误3' + text: '外国人永久居留身份证证件有效期有误' } } }