风控中台对接-新增有效期类型,处理长期有效期问题
This commit is contained in:
parent
6605202cb0
commit
f465b3410f
@ -33,6 +33,7 @@
|
||||
doTemp.setHtmlEvent("CERTID","onChange","checkCertidRepeat");
|
||||
doTemp.setHtmlEvent("CERTTYPE","onChange","changeCertType");
|
||||
doTemp.setHtmlEvent("certid","onChange","ValidityCheck");
|
||||
doTemp.setHtmlEvent("IDEXPIRY_TYPE","onChange","changeIdexpiryType");
|
||||
// doTemp.setHtmlEvent("certtype","onChange", "setSexRead");
|
||||
// doTemp.setDefaultValue("DATA_STATE", "guarantee");//标记该数据是担保人信息
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
@ -65,7 +66,28 @@
|
||||
$("#ADDRESS").attr("ReadOnly","true");
|
||||
$("#WORKADD").css("width",$("#WORKADD").parent().parent().parent().parent()[0].clientWidth/2+200+"px");
|
||||
$("#WORKADD").attr("ReadOnly","true");
|
||||
//页面初始化的时候,判断证件有效期类型,默认为短期
|
||||
var idexpiry_type = getItemValue(0,0,"IDEXPIRY_TYPE");
|
||||
if(idexpiry_type==""){
|
||||
$("#IDEXPIRY_TYPE_0").prop("checked", "checked");
|
||||
}
|
||||
changeIdexpiryType();
|
||||
});
|
||||
|
||||
function changeIdexpiryType(){
|
||||
var idexpiry_type = getItemValue(0,0,"IDEXPIRY_TYPE");
|
||||
if("1" == idexpiry_type){//短期
|
||||
setItemReadOnly(0,0,"IDEXPIRY",false);
|
||||
var idexpiry = getItemValue(0,0,"IDEXPIRY");
|
||||
if("0000" == idexpiry){
|
||||
setItemValue(0,0,"IDEXPIRY","");
|
||||
}
|
||||
}else {
|
||||
setItemReadOnly(0,0,"IDEXPIRY",true);
|
||||
setItemValue(0,0,"IDEXPIRY","0000");
|
||||
}
|
||||
}
|
||||
|
||||
function selectPersonContacts(){
|
||||
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_"){
|
||||
@ -156,6 +178,7 @@
|
||||
,"CAREER_TYPE"
|
||||
,"MAJOR_MONTHLY_INCOME"
|
||||
,"MONTHLY_EXPENSES"
|
||||
,"IDEXPIRY_TYPE"
|
||||
];
|
||||
var arrRequired=["SEX","MARITAL_STATUS","TITLE","WORKADD","WORKCORP","WORKTEL"
|
||||
,"BIRTHDAY"
|
||||
@ -171,6 +194,7 @@
|
||||
,"MAJOR_MONTHLY_INCOME"
|
||||
,"MONTHLY_EXPENSES"
|
||||
,"START_IDEXPIRY"
|
||||
,"IDEXPIRY_TYPE"
|
||||
];
|
||||
if(certType=="Ent02"){
|
||||
showItemRequired(0, "LEGAL_REPRESENTATIVE");
|
||||
|
||||
@ -35,6 +35,7 @@
|
||||
doTemp.setHtmlEvent("certtype", "onChange", "setSexRead");
|
||||
doTemp.setHtmlEvent("certid","onChange","ValidityCheck");
|
||||
doTemp.setHtmlEvent("CERTTYPE","onChange","checkCertidSex");
|
||||
doTemp.setHtmlEvent("IDEXPIRY_TYPE","onChange","changeIdexpiryType");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
//dwTemp.ReadOnly = "-2";//Ö»¶Áģʽ
|
||||
@ -93,7 +94,30 @@
|
||||
if("Ind01"==certType){
|
||||
setItemReadOnly(0,0,"SEX",true);
|
||||
}
|
||||
|
||||
//页面初始化的时候,判断证件有效期类型,默认为短期
|
||||
var idexpiry_type = getItemValue(0,0,"IDEXPIRY_TYPE");
|
||||
if(idexpiry_type==""){
|
||||
$("#IDEXPIRY_TYPE_0").prop("checked", "checked");
|
||||
}
|
||||
changeIdexpiryType();
|
||||
|
||||
});
|
||||
|
||||
function changeIdexpiryType(){
|
||||
var idexpiry_type = getItemValue(0,0,"IDEXPIRY_TYPE");
|
||||
if("1" == idexpiry_type){//短期
|
||||
setItemReadOnly(0,0,"IDEXPIRY",false);
|
||||
var idexpiry = getItemValue(0,0,"IDEXPIRY");
|
||||
if("0000" == idexpiry){
|
||||
setItemValue(0,0,"IDEXPIRY","");
|
||||
}
|
||||
}else {
|
||||
setItemReadOnly(0,0,"IDEXPIRY",true);
|
||||
setItemValue(0,0,"IDEXPIRY","0000");
|
||||
}
|
||||
}
|
||||
|
||||
function selectDuties(){
|
||||
AsDialog.OpenSelector("codeLibraryListByCodeNo","codeno,duties","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
|
||||
if(!sReturn || sReturn == "_CANCEL_"){
|
||||
|
||||
@ -39,6 +39,9 @@
|
||||
}
|
||||
doTemp.setHtmlEvent("MARRIAGE","onChange","changeChildrensNumber");
|
||||
doTemp.setHtmlEvent("IS_NETCAR","onChange","changeNetCarInfo");
|
||||
|
||||
doTemp.setHtmlEvent("IDEXPIRY_TYPE","onChange","changeIdexpiryType");
|
||||
|
||||
doTemp.setHtmlEvent("sex","onChange","changeSex");
|
||||
doTemp.setHtmlEvent("Mailing_Address","onChange","checkMailingAddress");
|
||||
//doTemp.setHtmlEvent("mobile","onChange","checkMobileRepeat");
|
||||
@ -352,6 +355,12 @@
|
||||
$("#IS_NETCAR_0").prop("checked", "checked");
|
||||
}
|
||||
changeNetCarInfo();
|
||||
//页面初始化的时候,判断证件有效期类型,默认为短期
|
||||
var idexpiry_type = getItemValue(0,0,"IDEXPIRY_TYPE");
|
||||
if(idexpiry_type==""){
|
||||
$("#IDEXPIRY_TYPE_0").prop("checked", "checked");
|
||||
}
|
||||
changeIdexpiryType();
|
||||
|
||||
})
|
||||
var flag=false;//标记是否复制过客户
|
||||
@ -897,6 +906,20 @@
|
||||
}
|
||||
}
|
||||
|
||||
function changeIdexpiryType(){
|
||||
var idexpiry_type = getItemValue(0,0,"IDEXPIRY_TYPE");
|
||||
if("1" == idexpiry_type){//短期
|
||||
setItemReadOnly(0,0,"IDEXPIRY",false);
|
||||
var idexpiry = getItemValue(0,0,"IDEXPIRY");
|
||||
if("0000" == idexpiry){
|
||||
setItemValue(0,0,"IDEXPIRY","");
|
||||
}
|
||||
}else {
|
||||
setItemReadOnly(0,0,"IDEXPIRY",true);
|
||||
setItemValue(0,0,"IDEXPIRY","0000");
|
||||
}
|
||||
}
|
||||
|
||||
//根据是否网约车显示不同的数据
|
||||
function changeNetCarInfo(){
|
||||
var netcar = getItemValue(0,0,"IS_NETCAR");
|
||||
|
||||
@ -478,6 +478,7 @@
|
||||
<attribute name="smincome" label="月收入" type="DOUBLE" length="22" scale="2" />
|
||||
<attribute name="e_mail" label="电子邮箱" type="STRING" length="32" />
|
||||
<attribute name="area_code" label="户籍行政区划编码" type="STRING" length="20" />
|
||||
<attribute name="idexpiry_type" label="北财-证件有效期类型:1短期,2长期" type="STRING" length="32"/>
|
||||
<attribute name="idexpiry" label="北财-承租人身份证有效期" type="STRING" length="32"/>
|
||||
<attribute name="start_idexpiry" label="北财-有效期开始时间" type="STRING" length="32"/>
|
||||
<attribute name="work_address_id" label="北财-承租人单位地址关联id" type="STRING" length="32"/>
|
||||
@ -2788,6 +2789,7 @@
|
||||
<attribute name="childrens_number" label="北财-子女数量" type="STRING" length="32"/>
|
||||
<attribute name="birthday" label="北财-出生日期" type="STRING" length="32"/>
|
||||
<attribute name="start_idexpiry" label="北财-有效期开始时间" type="STRING" length="32"/>
|
||||
<attribute name="idexpiry_type" label="北财-证件有效期类型:1短期,2长期" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
|
||||
@ -4240,6 +4240,7 @@
|
||||
<attribute name="birthday" label="北财-出生日期" type="STRING" length="32"/>
|
||||
<attribute name="legal_representative" label="北财-担保人为企业时的法定代表人信息" type="STRING" length="32"/>
|
||||
<attribute name="start_idexpiry" label="北财-担保人有效期开始时间" type="STRING" length="32"/>
|
||||
<attribute name="idexpiry_type" label="北财-证件有效期类型:1短期,2长期" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
|
||||
@ -16,6 +16,10 @@ public interface CUSTOMER_FAMILY_TEMP{
|
||||
|
||||
|
||||
// 20230817 北财风控中台对接-共同申请人出生日期
|
||||
/**
|
||||
* start_idexpiry 北财-证件有效期类型:1短期,2长期 STRING(32)<br>
|
||||
*/
|
||||
public static final String idexpiry_type = "idexpiry_type";
|
||||
|
||||
/**
|
||||
* start_idexpiry 有效期开始时间 STRING(32)<br>
|
||||
|
||||
@ -16,6 +16,11 @@ public interface CUSTOMER_PERSON_TEMP{
|
||||
|
||||
// 20230809 北财风控中台对接-承租人新增字段
|
||||
|
||||
/**
|
||||
* start_idexpiry 北财-证件有效期类型:1短期,2长期 STRING(32)<br>
|
||||
*/
|
||||
public static final String idexpiry_type = "idexpiry_type";
|
||||
|
||||
/**
|
||||
* start_idexpiry 有效期开始时间 STRING(32)<br>
|
||||
*/
|
||||
|
||||
@ -14,6 +14,12 @@ public interface LB_GUARANTEE_UNIT_TEMP{
|
||||
*/
|
||||
public static final String CLASS_NAME = "jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT_TEMP";
|
||||
// 20230817 北财风控中台对接-担保人新增字段
|
||||
|
||||
/**
|
||||
* start_idexpiry 北财-证件有效期类型:1短期,2长期 STRING(32)<br>
|
||||
*/
|
||||
public static final String idexpiry_type = "idexpiry_type";
|
||||
|
||||
/**
|
||||
* start_idexpiry 有效期开始时间 STRING(32)<br>
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user