diff --git a/WebContent/Tenwa/Customer/Lessee/Person/CustomerCompanyTempInfo.jsp b/WebContent/Tenwa/Customer/Lessee/Person/CustomerCompanyTempInfo.jsp index 654450c15..f7c0cb1a4 100644 --- a/WebContent/Tenwa/Customer/Lessee/Person/CustomerCompanyTempInfo.jsp +++ b/WebContent/Tenwa/Customer/Lessee/Person/CustomerCompanyTempInfo.jsp @@ -128,8 +128,8 @@ function changecompany_tel(){//校验公司固定电话 var company_tel = getItemValue(0,getRow(0),"company_tel"); if(company_tel==""){ - setErrorTips("company_tel","公司固定电话不能为空!"); - return false; + setErrorTips("company_tel",""); + return true; } if(CheckPhoneCode(company_tel)){ setErrorTips("company_tel",""); diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp index 22f34e3da..9dde1ffa7 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp @@ -58,6 +58,7 @@ param1 = "selectAccountByCusts"; param2 = "flowunid,<%=FlowUnid%>"; } + param2=param2+",customerType,"+"<%=CustomerType%>"; AsDialog.OpenSelector(param1,param2,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){ if(!sReturn||sReturn=="_CANCEL_"){ alert(getHtmlMessage('1'));//请选择一条信息! diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp index 0fdcbbc7d..5210ce233 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp @@ -436,6 +436,8 @@ ValidityCheck(); setItemValue(0,0,"flowunid","<%=flowunid%>"); if(!checkCertInfo(true)) return ; + if(!checkEmergencyContactTel(true)) return ; + if(!checkREMARK(true)) return ; if(frame_list.window.save()){ var certid=getItemValue(0,0,"CERTID"); <%-- var customerid=RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerAction","updateCustomerId",'certid='+certid+',flowunid=<%=flowunid%>'); --%> @@ -688,7 +690,36 @@ return re.test(value); } + function checkEmergencyContactTel(){//校验紧急联系人1的电话格式 + var mobile = getItemValue(0,getRow(0),"EMERGENCY_CONTACT_TEL"); + if(mobile==""){ + setErrorTips("EMERGENCY_CONTACT_TEL","电话不能为空!"); + return false; + } + var phone = /^[1][3,4,5,7,8][0-9]{9}$/; + if(phone.test(mobile)){ + setErrorTips("EMERGENCY_CONTACT_TEL",""); + return true; + }else{ + setErrorTips("EMERGENCY_CONTACT_TEL","电话格式不正确!"); + return false; + } + } - + function checkREMARK(){//校验紧急联系人2的电话格式 + var mobile = getItemValue(0,getRow(0),"REMARK"); + if(mobile==""){ + setErrorTips("REMARK","电话不能为空!"); + return false; + } + var phone = /^[1][3,4,5,7,8][0-9]{9}$/; + if(phone.test(mobile)){ + setErrorTips("REMARK",""); + return true; + }else{ + setErrorTips("REMARK","电话格式不正确!"); + return false; + } + } <%@ include file="/Frame/resources/include/include_end.jspf"%>