diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp index 8567a569a..26b53a6da 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp @@ -29,8 +29,36 @@ }else{ changeFamilyRequiredFalse(); } + var remarkResult = checkTel(); + if(remarkResult=="6"){ + //$("#FULLNAME").attr("style","color:red;"); + $("#TEL").css("color","red"); + } + var certResult = checkCertId(); + if(certResult=="4"){ + //$("#FULLNAME").attr("style","color:red;"); + $("#CERTID").css("color","red"); + } }); + function checkCertId(){//校验配偶证件号 + var customerType = "03"; + //var customerName = getItemValue(0,getRow(),"CustomerName"); + var certId = getItemValue(0,getRow(),"certid"); + //var sParams = "CustomerName="+customerName+",certId="+certId+",customerType="+customerType; + var sParams = "certId="+certId+",customerType="+customerType; + var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkCertId",sParams); + return sReturnInfo; + } + + function checkTel(){//校验配偶手机号 + var customerType = "03"; + var tel = getItemValue(0,getRow(),"tel"); + var sParams = "mobile="+tel+",customerType="+customerType; + var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkMobile",sParams); + return sReturnInfo; + } + function changeFamilyRequiredTrue(){ setItemRequired(0,"name",true); setItemRequired(0,"certid",true);