From f10128ad11280a33b4608559cff6c058cc8f681f Mon Sep 17 00:00:00 2001 From: tangfutang Date: Fri, 27 Jul 2018 14:30:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=E8=BA=AB=E4=BB=BD=E8=AF=81=E5=BF=85=E9=A1=BB=E6=98=AF?= =?UTF-8?q?18=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp | 6 +++++- .../BusinessApplication/CustomerFamilyJoinTempInfo.jsp | 6 +++++- .../Project/BusinessApplication/CustomerFamilyTempInfo.jsp | 6 +++++- .../BusinessApproval/ProjectApprovalCreationInfo.jsp | 6 +++++- 4 files changed, 20 insertions(+), 4 deletions(-) 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; } }