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);