业务申请配有不对身份证进行校验

This commit is contained in:
xiezhiwen 2019-09-25 09:34:28 +08:00
parent 31a984ed1a
commit 6c84763a00

View File

@ -256,12 +256,12 @@
if(name.length > 0){
if(certid.length > 0){
if(certid.length!=18){
/* if(certid.length!=18){
// parent.parent.openDWDialog();
setErrorTips("certid","身份证必须是18位");
// parent.parent.resetDWDialog("配偶身份证信息错误!",false);
return false;
}
} */
if(CheckLicense(certid)){
setItemValue(0,0,"certid",certid);
//setItemUnit(0,0,"certid","");
@ -272,12 +272,12 @@
// setErrorTips("certid","配偶证件号码不可与承租人相同!");
// return false;
// }
else{
/* else{
// parent.parent.openDWDialog();
setErrorTips("certid","身份证格式错误!");
// parent.parent.resetDWDialog("配偶身份证信息错误!",false);
return false;
}
} */
}
if(tel.length > 0){
if(!CheckPhoneCode(tel)){