风控中台对接-必填字段页面调整

This commit is contained in:
zhanglei 2023-08-24 09:05:41 +08:00
parent 9e79084c7f
commit e6f50cef11
5 changed files with 57 additions and 15 deletions

View File

@ -138,24 +138,56 @@
},
(!workAddressId?"新增":"修改")+"居住地址");
}
changeCertType();
function changeCertType(){
var certType = getItemValue(0,getRow(0),"CERTTYPE");
//"MOBILE","ADDRESS", 去除电话及地址的隐藏 20200821
var arr=["SEX","Marital_status","PROPERTY_TYPE","OTHER_INCOME","TITLE","WORKADD","WORKCORP","WORKTEL"];
// var arr=["SEX","Marital_status","PROPERTY_TYPE","OTHER_INCOME","TITLE","WORKADD","WORKCORP","WORKTEL"];
var arr=["SEX","MARITAL_STATUS","PROPERTY_TYPE","OTHER_INCOME","TITLE","WORKADD","WORKCORP","WORKTEL"
,"BIRTHDAY"
,"IDEXPIRY"
,"NATION"
,"ID_ADDRESS"
,"CHILDRENS_NUMBER"
,"RESIDENTIAL_STATUS"
,"EDUCATION_LEVEL"
,"INDUSTRY_TYPE"
,"ENTERPRISE_NATURE"
,"CAREER_TYPE"
,"MAJOR_MONTHLY_INCOME"
,"MONTHLY_EXPENSES"
];
var arrRequired=["SEX","MARITAL_STATUS","TITLE","WORKADD","WORKCORP","WORKTEL"
,"BIRTHDAY"
,"IDEXPIRY"
,"NATION"
,"ID_ADDRESS"
,"CHILDRENS_NUMBER"
,"RESIDENTIAL_STATUS"
,"EDUCATION_LEVEL"
,"INDUSTRY_TYPE"
,"ENTERPRISE_NATURE"
,"CAREER_TYPE"
,"MAJOR_MONTHLY_INCOME"
,"MONTHLY_EXPENSES"
];
if(certType=="Ent02"){
hideItemRequired(0,"SEX");
//hideItemRequired(0,"MOBILE");
showItemRequired(0, "LEGAL_REPRESENTATIVE");
showItem(0, "LEGAL_REPRESENTATIVE");
for(var i=0;i<arrRequired.length;i++){
hideItemRequired(0,arrRequired[i]);
}
for(var i=0;i<arr.length;i++){
hideItem(0,arr[i]);
setItemValue(0,0,arr[i],"");
}
}else{
showItemRequired(0,"SEX");
showItemRequired(0,"MOBILE");
showItemRequired(0,"ADDRESS");
hideItemRequired(0, "LEGAL_REPRESENTATIVE");
hideItem(0, "LEGAL_REPRESENTATIVE");
setItemValue(0,0,"LEGAL_REPRESENTATIVE","");
for(var i=0;i<arrRequired.length;i++){
showItemRequired(0,arrRequired[i]);
}
for(var i=0;i<arr.length;i++){
showItem(0,arr[i]);
}

View File

@ -2786,6 +2786,7 @@
<attribute name="marry_type" label="北财-共同申请人婚姻状况" type="STRING" length="32"/>
<attribute name="residential_status" label="北财-共同申请人居住状况" type="STRING" length="32"/>
<attribute name="childrens_number" label="北财-子女数量" type="STRING" length="32"/>
<attribute name="birthday" label="北财-出生日期" type="STRING" length="32"/>
</attributes>
<manager>

View File

@ -4228,7 +4228,6 @@
<attribute name="enterprise_nature" label="北财-担保人企业性质" type="STRING" length="32"/>
<attribute name="industry_type" label="北财-担保人行业类型" type="STRING" length="32"/>
<attribute name="career_type" label="北财-担保人职业类型" type="STRING" length="32"/>
<attribute name="monthly_income" label="北财-担保人月收入" type="STRING" length="32"/>
<attribute name="monthly_expenses" label="北财-担保人月支出" type="STRING" length="32"/>
<attribute name="work_address_code" label="北财-担保人单位地址编码" type="STRING" length="32"/>
<attribute name="work_address_id" label="北财-担保人单位地址关联id" type="STRING" length="32"/>
@ -4238,6 +4237,8 @@
<attribute name="id_address_id" label="北财-担保人户籍地址关联id" type="STRING" length="32"/>
<attribute name="residential_status" label="北财-担保人居住状况" type="STRING" length="32"/>
<attribute name="childrens_number" label="北财-子女数量" type="STRING" length="32"/>
<attribute name="birthday" label="北财-出生日期" type="STRING" length="32"/>
<attribute name="legal_representative" label="北财-担保人为企业时的法定代表人信息" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>

View File

@ -15,7 +15,11 @@ public interface CUSTOMER_FAMILY_TEMP{
public static final String CLASS_NAME = "jbo.app.tenwa.customer.CUSTOMER_FAMILY_TEMP";
// 20230817 北财风控中台对接-共同申请人婚姻状况
// 20230817 北财风控中台对接-共同申请人出生日期
/**
* 出生日期 STRING(32)<br>
*/
public static final String birthday = "birthday";
/**
* 子女数量 STRING(32)<br>

View File

@ -14,6 +14,15 @@ public interface LB_GUARANTEE_UNIT_TEMP{
*/
public static final String CLASS_NAME = "jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT_TEMP";
// 20230817 北财风控中台对接-担保人新增字段
/**
* 担保人为企业时的法定代表人信息 STRING(32)<br>
*/
public static final String legal_representative = "legal_representative";
/**
* 出生日期 STRING(32)<br>
*/
public static final String birthday = "birthday";
/**
* 子女数量 STRING(32)<br>
*/
@ -95,11 +104,6 @@ public interface LB_GUARANTEE_UNIT_TEMP{
*/
public static final String career_type = "career_type";
/**
* 担保人月收入 STRING(32)<br>
*/
public static final String monthly_income = "monthly_income";
/**
* 担保人月支出 STRING(32)<br>
*/