From 1f3d4cdfd8c96520a6e29d5418025e7b5761cdf5 Mon Sep 17 00:00:00 2001 From: user Date: Sat, 14 Jul 2018 11:17:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7=EF=BC=8C?= =?UTF-8?q?=E5=85=B1=E5=90=8C=E7=94=B3=E8=AF=B7=E4=BA=BA=E5=8D=95=E4=BD=8D?= =?UTF-8?q?=E7=94=B5=E8=AF=9D=E5=AD=97=E6=AE=B5=E6=A0=BC=E5=BC=8F=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomerFamilyJoinTempInfo.jsp | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp index c3ee52f78..2b678ccce 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp @@ -73,6 +73,22 @@ } } + function checkSuphone(){//校验单位电话格式和不为空 + var suphone = getItemValue(0,getRow(0),"suphone"); + if(suphone==""){ + //setErrorTips("mobile","手机号不能为空!"); + alert("单位电话不能为空!"); + return false; + } + if(CheckPhoneCode(suphone)){ + return true; + }else{ + //setErrorTips("mobile","手机号格式不正确!"); + alert("单位电话格式不正确!"); + return false; + } + } + function checkTelRepeat(){//校验共同申请人手机号重复 var customerType = "03"; var tel = getItemValue(0,getRow(),"tel"); @@ -122,6 +138,10 @@ if(TelResult==false){ return; } + var SuphoneResult = checkSuphone(); + if(SuphoneResult==false){ + return; + } // var ID = getItemValue(0,getRow(0),'ID'); // if("undefined"==ID||""==ID || null==ID){ // AsDebug.showMessage("提示","请选中一条数据!","","",true);