风控中台对接-证件有效期结束日期调整,共同申请人重复手机号判断调整,以及页面bug修复

This commit is contained in:
zhanglei 2023-08-31 11:37:22 +08:00
parent 8ec4158ba3
commit d088c025a5
5 changed files with 25 additions and 7 deletions

View File

@ -84,7 +84,7 @@
}
}else {
setItemReadOnly(0,0,"IDEXPIRY",true);
setItemValue(0,0,"IDEXPIRY","0000");
setItemValue(0,0,"IDEXPIRY","2100/12/31");
}
}
@ -372,6 +372,7 @@
if(!checkCertidRepeat()){
return;
}
alert(111);
as_save(0,"goBack()");
}

View File

@ -73,8 +73,15 @@
$("#WORK_ADDRESS").attr("ReadOnly","true");
var spouse = getItemValue(0,0,"Spouse_");
if("Y"==spouse){
$("#ASSURE_RELATION").val("Åäż");
document.getElementById("ASSURE_RELATION").readOnly=true;
// $("#ASSURE_RELATION").val("配偶");
// document.getElementById("ASSURE_RELATION").readOnly=true;
setItemReadOnly(0,0,"ASSURE_RELATION",true);
setItemReadOnly(0,0,"MARRY_TYPE",true);
setItemReadOnly(0,0,"CHILDRENS_NUMBER",true);
setItemReadOnly(0,0,"CERTID",true);
setItemReadOnly(0,0,"NAME",true);
setItemReadOnly(0,0,"CERTTYPE",true);
setItemReadOnly(0,0,"SEX",true);
}
if("0030"=="<%=sPhaseNo%>" ||"0040"=="<%=sPhaseNo%>"||"0050"=="<%=sPhaseNo%>"||"0060"=="<%=sPhaseNo%>"|| ("0070"=="<%=sPhaseNo%>" && "false"=="<%=IsHistory%>")){//经销商阶段看不见标红,初审、复审、信审可以标红
var mobile = getItemValue(0,getRow(),"TEL");
@ -114,7 +121,7 @@
}
}else {
setItemReadOnly(0,0,"IDEXPIRY",true);
setItemValue(0,0,"IDEXPIRY","0000");
setItemValue(0,0,"IDEXPIRY","2100/12/31");
}
}
@ -128,6 +135,11 @@
},"请选择职务");
}
function selectPersonContacts(){
var spouse = getItemValue(0,0,"Spouse_");
if("Y"==spouse){
alert("请前往申请人信息页面修改婚姻状况!");
return;
}
AsDialog.OpenSelector("codeLibraryListByCodeNo","codeno,personContact","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
if(!sReturn || sReturn == "_CANCEL_"){
return;
@ -271,7 +283,10 @@
var customerType = "03";
var tel = getItemValue(0,getRow(),"tel");
var id = getItemValue(0,getRow(),"id");
var sParams = "certId="+id+",mobile="+tel+",customerType="+customerType+",flowunid="+"<%=FlowUnid%>";
var certid = getItemValue(0,getRow(),"certid");
var fullname = getItemValue(0,getRow(),"name");
var sParams = "certId="+id+",mobile="+tel+",customerType="+customerType+",flowunid="+"<%=FlowUnid%>"
+",certid="+certid +",FULLNAME="+fullname;
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkMobileRepeat",sParams);
if("SUCCESS"!=sReturnInfo){
//setErrorTips("tel","该手机号已重复!");

View File

@ -93,7 +93,7 @@
}
}else {
setItemReadOnly(0,0,"IDEXPIRY",true);
setItemValue(0,0,"IDEXPIRY","0000");
setItemValue(0,0,"IDEXPIRY","2100/12/31");
}
}

View File

@ -918,7 +918,7 @@
}
}else {
setItemReadOnly(0,0,"IDEXPIRY",true);
setItemValue(0,0,"IDEXPIRY","0000");
setItemValue(0,0,"IDEXPIRY","2100/12/31");
}
}

View File

@ -608,6 +608,7 @@ public class CustomerInfoManage {
bo.setAttributeValue("smincome", smincome);
bo.setAttributeValue("shukou", shukou);
bo.setAttributeValue("Spouse_", "Y");
bo.setAttributeValue("ASSURE_RELATION", "Åäż");
bo.setAttributeValue("PROJECT_ID", projectId);
bo.setAttributeValue("workunit", workunit);
bo.setAttributeValue("sex", sex);
@ -628,6 +629,7 @@ public class CustomerInfoManage {
bo.setAttributeValue("smincome", smincome);
bo.setAttributeValue("shukou", shukou);
bo.setAttributeValue("Spouse_", "Y");
bo.setAttributeValue("ASSURE_RELATION", "Åäż");
bo.setAttributeValue("PROJECT_ID", projectId);
bo.setAttributeValue("workunit", workunit);
bo.setAttributeValue("sex", sex);