diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp index 888904ed9..821921b69 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp @@ -367,6 +367,7 @@ if("" == getItemValue(0,0,"BIRTHDAY")){alert("请输入配偶的出生日期");return true;} if("" == getItemValue(0,0,"START_IDEXPIRY")){alert("请输入配偶的有效期开始日");return true;} if("" == getItemValue(0,0,"IDEXPIRY_TYPE")){alert("请输入配偶的有效期类型");return true;} + return false; } function save(){//保存配偶信息 <%--setItemValue(0,0,"MARRY_TYPE","<%=marriage%>");--%> diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp index 1fed2fcde..7a5ad4fdf 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp @@ -490,7 +490,19 @@ } */ } + /** + * 北财风控对接新建字段保存阻断校验 + */ + function checkRCDataCheck(){ + if("" == getItemValue(0,0,"WORKZIP")){alert("请输入工作地址");return true;} + if("" == getItemValue(0,0,"WORK_ADDRESS_ID")){alert("请输入工作地址");return true;} + return false; + } + function saveRecord(leasfrom,projectSource,inputName,inputTel,projectNo,operationType,zcProjectNumber,zcContractNumber){//保存 + if(checkRCDataCheck()){ + return ; + } //校验申请人手机号和配偶手机号是否重复 var RepeatReault = ""; var customerType = "03"; @@ -641,7 +653,7 @@ return; } if(result !== ""){ - setItemValue(0,0,"work_address_id",result.split("@")[0]); + setItemValue(0,0,"WORK_ADDRESS_ID",result.split("@")[0]); setItemValue(0,0,"WORKZIP",result.split("@")[1]); setItemValue(0,0,"WORKADD",result.split("@")[2]); }