From bea425fcb4952e9879175216b3ac727641dd8d12 Mon Sep 17 00:00:00 2001 From: user Date: Tue, 10 Jul 2018 18:01:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7=EF=BC=8C?= =?UTF-8?q?=E9=85=8D=E5=81=B6=E4=BF=A1=E6=81=AF=E8=BA=AB=E4=BB=BD=E8=AF=81?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E3=80=81=E6=89=8B=E6=9C=BA=E5=8F=B7=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E7=BA=A2=E5=AD=97=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomerFamilyTempInfo.jsp | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) 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);