diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp index 4f093d119..d41b92a87 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp @@ -64,7 +64,11 @@ return true; }else{ //setErrorTips("certId","身份证格式不正确!"); - alert("身份证格式不正确!"); + if(certId.length==18){ + alert("身份证格式错误!"); + }else{ + alert("身份证必须是18位!"); + } return false; } } diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp index 51515ae64..3968043a6 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp @@ -51,7 +51,11 @@ return true; }else{ //setErrorTips("certId","身份证格式不正确!"); - alert("身份证格式不正确!"); + if(certId.length==18){ + alert("身份证格式错误!"); + }else{ + alert("身份证必须是18位!"); + } return false; } diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp index 4a95a5b66..1547bfd28 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp @@ -209,7 +209,11 @@ // } else{ parent.parent.openDWDialog(); - setErrorTips("certid","身份证格式有误!"); + if(certid.length==18){ + setErrorTips("certid","身份证格式错误!"); + }else{ + setErrorTips("certid","身份证必须是18位!"); + } parent.parent.resetDWDialog("配偶身份证信息错误!",false); return false; } diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp index 790151371..91a77ed3d 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp @@ -421,7 +421,11 @@ if(CheckLicense(certid) ){ return true; }else{ - setErrorTips("certid","身份证格式错误!"); + if(certid.length==18){ + setErrorTips("certid","身份证格式错误!"); + }else{ + setErrorTips("certid","身份证必须是18位!"); + } return false; } }