From e4a7cf5d18b3c1037fa1e7e8d96ca14103cb5f29 Mon Sep 17 00:00:00 2001 From: zhanglei Date: Wed, 30 Aug 2023 13:18:38 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A3=8E=E6=8E=A7=E4=B8=AD=E5=8F=B0=E5=AF=B9?= =?UTF-8?q?=E6=8E=A5-=E6=AD=A3=E5=BC=8F=E8=A1=A8=E3=80=81=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E8=A1=A8=E4=B8=8E=E4=B8=B4=E6=97=B6=E8=A1=A8=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomerFamilyTempInfo.jsp | 23 +++++++++ WebContent/WEB-INF/etc/jbo/jbo_customer.xml | 11 +++-- WebContent/WEB-INF/etc/jbo/jbo_lease.xml | 24 +++++----- .../app/tenwa/customer/CUSTOMER_FAMILY.java | 47 +++++++++++------- .../tenwa/customer/CUSTOMER_FAMILY_HIS.java | 48 ++++++++++++------- .../app/tenwa/customer/CUSTOMER_PERSON.java | 10 ++++ .../tenwa/customer/CUSTOMER_PERSON_HIS.java | 10 ++++ .../tenwa/lease/comm/LB_GUARANTEE_UNIT.java | 48 +++++++++++-------- .../lease/comm/LB_GUARANTEE_UNIT_HIS.java | 47 ++++++++++-------- 9 files changed, 177 insertions(+), 91 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp index b9d41fe46..28a05c80f 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp @@ -21,6 +21,7 @@ doTemp.setHtmlEvent("certtype","onChange", "setSexRead"); doTemp.setHtmlEvent("sex","onChange","checkSex"); doTemp.setHtmlEvent("certid","onChange","ValidityCheck"); + doTemp.setHtmlEvent("IDEXPIRY_TYPE","onChange","changeIdexpiryType"); ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); dwTemp.Style = "2";//freeform //dwTemp.ReadOnly = "-2";//只读模式 @@ -61,7 +62,29 @@ $("#CERTID").css("color","red"); } } + //页面初始化的时候,判断证件有效期类型,默认为短期 + 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_"){ diff --git a/WebContent/WEB-INF/etc/jbo/jbo_customer.xml b/WebContent/WEB-INF/etc/jbo/jbo_customer.xml index 0ef20200e..ed734070c 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_customer.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_customer.xml @@ -330,9 +330,10 @@ + - - + + @@ -2437,8 +2438,9 @@ + - + @@ -2546,8 +2548,9 @@ + - + diff --git a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml index 4b6759b67..e0c808b71 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml @@ -4096,23 +4096,23 @@ - - - - - - + + + + + + @@ -4160,23 +4160,23 @@ - - - - - - + + + + + + diff --git a/src_jbo/jbo/app/tenwa/customer/CUSTOMER_FAMILY.java b/src_jbo/jbo/app/tenwa/customer/CUSTOMER_FAMILY.java index af7dacbda..c18fa49a1 100644 --- a/src_jbo/jbo/app/tenwa/customer/CUSTOMER_FAMILY.java +++ b/src_jbo/jbo/app/tenwa/customer/CUSTOMER_FAMILY.java @@ -15,12 +15,39 @@ public interface CUSTOMER_FAMILY{ public static final String CLASS_NAME = "jbo.app.tenwa.customer.CUSTOMER_FAMILY"; - // 20230817 北财风控中台对接-共同申请人新增字段 + + + // 20230817 北财风控中台对接-共同申请人出生日期 + /** + * start_idexpiry 北财-证件有效期类型:1短期,2长期 STRING(32)
+ */ + public static final String idexpiry_type = "idexpiry_type"; /** - * 共同申请人职务 STRING(32)
+ * start_idexpiry 有效期开始时间 STRING(32)
*/ - public static final String duties_type = "duties_type"; + public static final String start_idexpiry = "start_idexpiry"; + + /** + * 出生日期 STRING(32)
+ */ + public static final String birthday = "birthday"; + + /** + * 子女数量 STRING(32)
+ */ + public static final String childrens_number = "childrens_number"; + + /** + * 共同申请人婚姻状况 STRING(32)
+ */ + public static final String marry_type = "marry_type"; + + /** + * 共同申请人居住状况 STRING(32)
+ */ + public static final String residential_status = "residential_status"; + /** * 共同申请人单位地址关联id STRING(32)
@@ -74,10 +101,6 @@ public interface CUSTOMER_FAMILY{ */ public static final String work_address = "work_address"; - /** - * 共同申请人居住地址 STRING(500)
- */ - public static final String live_address = "live_address"; /** * 共同申请人户籍地址 STRING(500)
@@ -99,16 +122,6 @@ public interface CUSTOMER_FAMILY{ */ public static final String career_type = "career_type"; - /** - * 共同申请人职位 STRING(32)
- */ - public static final String position = "position"; - - /** - * 共同申请人月收入 STRING(32)
- */ - public static final String monthly_income = "monthly_income"; - /** * 共同申请人月支出 STRING(32)
*/ diff --git a/src_jbo/jbo/app/tenwa/customer/CUSTOMER_FAMILY_HIS.java b/src_jbo/jbo/app/tenwa/customer/CUSTOMER_FAMILY_HIS.java index 52d6cad1e..b32a2dd1d 100644 --- a/src_jbo/jbo/app/tenwa/customer/CUSTOMER_FAMILY_HIS.java +++ b/src_jbo/jbo/app/tenwa/customer/CUSTOMER_FAMILY_HIS.java @@ -14,12 +14,39 @@ public interface CUSTOMER_FAMILY_HIS{ */ public static final String CLASS_NAME = "jbo.app.tenwa.customer.CUSTOMER_FAMILY_HIS"; - // 20230817 北财风控中台对接-共同申请人新增字段 + + + // 20230817 北财风控中台对接-共同申请人出生日期 + /** + * start_idexpiry 北财-证件有效期类型:1短期,2长期 STRING(32)
+ */ + public static final String idexpiry_type = "idexpiry_type"; /** - * 共同申请人职务 STRING(32)
+ * start_idexpiry 有效期开始时间 STRING(32)
*/ - public static final String duties_type = "duties_type"; + public static final String start_idexpiry = "start_idexpiry"; + + /** + * 出生日期 STRING(32)
+ */ + public static final String birthday = "birthday"; + + /** + * 子女数量 STRING(32)
+ */ + public static final String childrens_number = "childrens_number"; + + /** + * 共同申请人婚姻状况 STRING(32)
+ */ + public static final String marry_type = "marry_type"; + + /** + * 共同申请人居住状况 STRING(32)
+ */ + public static final String residential_status = "residential_status"; + /** * 共同申请人单位地址关联id STRING(32)
@@ -73,10 +100,6 @@ public interface CUSTOMER_FAMILY_HIS{ */ public static final String work_address = "work_address"; - /** - * 共同申请人居住地址 STRING(500)
- */ - public static final String live_address = "live_address"; /** * 共同申请人户籍地址 STRING(500)
@@ -98,22 +121,11 @@ public interface CUSTOMER_FAMILY_HIS{ */ public static final String career_type = "career_type"; - /** - * 共同申请人职位 STRING(32)
- */ - public static final String position = "position"; - - /** - * 共同申请人月收入 STRING(32)
- */ - public static final String monthly_income = "monthly_income"; - /** * 共同申请人月支出 STRING(32)
*/ public static final String monthly_expenses = "monthly_expenses"; // 20230809 北财风控中台对接-共同申请人新增字段 - /** * 标识 STRING(32)
*/ diff --git a/src_jbo/jbo/app/tenwa/customer/CUSTOMER_PERSON.java b/src_jbo/jbo/app/tenwa/customer/CUSTOMER_PERSON.java index d0255e9f1..42775fd33 100644 --- a/src_jbo/jbo/app/tenwa/customer/CUSTOMER_PERSON.java +++ b/src_jbo/jbo/app/tenwa/customer/CUSTOMER_PERSON.java @@ -16,6 +16,16 @@ public interface CUSTOMER_PERSON{ // 20230809 北财风控中台对接-承租人新增字段 + /** + * start_idexpiry 北财-证件有效期类型:1短期,2长期 STRING(32)
+ */ + public static final String idexpiry_type = "idexpiry_type"; + + /** + * start_idexpiry 有效期开始时间 STRING(32)
+ */ + public static final String start_idexpiry = "start_idexpiry"; + /** * 承租人身份证有效期 STRING(32)
*/ diff --git a/src_jbo/jbo/app/tenwa/customer/CUSTOMER_PERSON_HIS.java b/src_jbo/jbo/app/tenwa/customer/CUSTOMER_PERSON_HIS.java index 1f95f2797..b69927592 100644 --- a/src_jbo/jbo/app/tenwa/customer/CUSTOMER_PERSON_HIS.java +++ b/src_jbo/jbo/app/tenwa/customer/CUSTOMER_PERSON_HIS.java @@ -15,6 +15,16 @@ public interface CUSTOMER_PERSON_HIS{ public static final String CLASS_NAME = "jbo.app.tenwa.customer.CUSTOMER_PERSON_HIS"; // 20230809 北财风控中台对接-承租人新增字段 + /** + * start_idexpiry 北财-证件有效期类型:1短期,2长期 STRING(32)
+ */ + public static final String idexpiry_type = "idexpiry_type"; + + /** + * start_idexpiry 有效期开始时间 STRING(32)
+ */ + public static final String start_idexpiry = "start_idexpiry"; + /** * 承租人身份证有效期 STRING(32)
*/ diff --git a/src_jbo/jbo/com/tenwa/lease/comm/LB_GUARANTEE_UNIT.java b/src_jbo/jbo/com/tenwa/lease/comm/LB_GUARANTEE_UNIT.java index 3f4f6ce36..71b4916b8 100644 --- a/src_jbo/jbo/com/tenwa/lease/comm/LB_GUARANTEE_UNIT.java +++ b/src_jbo/jbo/com/tenwa/lease/comm/LB_GUARANTEE_UNIT.java @@ -16,6 +16,33 @@ public interface LB_GUARANTEE_UNIT{ // 20230817 北财风控中台对接-担保人新增字段 + /** + * start_idexpiry 北财-证件有效期类型:1短期,2长期 STRING(32)
+ */ + public static final String idexpiry_type = "idexpiry_type"; + + /** + * start_idexpiry 有效期开始时间 STRING(32)
+ */ + public static final String start_idexpiry = "start_idexpiry"; + /** + * 担保人为企业时的法定代表人信息 STRING(32)
+ */ + public static final String legal_representative = "legal_representative"; + /** + * 出生日期 STRING(32)
+ */ + public static final String birthday = "birthday"; + + /** + * 子女数量 STRING(32)
+ */ + public static final String childrens_number = "childrens_number"; + /** + * 担保人居住状况 STRING(32)
+ */ + public static final String residential_status = "residential_status"; + /** * 担保人职务 STRING(32)
*/ @@ -68,16 +95,6 @@ public interface LB_GUARANTEE_UNIT{ */ public static final String education_level = "education_level"; - /** - * 担保人单位地址 STRING(32)
- */ - public static final String work_address = "work_address"; - - /** - * 担保人居住地址 STRING(32)
- */ - public static final String live_address = "live_address"; - /** * 担保人户籍地址 STRING(32)
*/ @@ -98,21 +115,12 @@ public interface LB_GUARANTEE_UNIT{ */ public static final String career_type = "career_type"; - /** - * 担保人职位 STRING(32)
- */ - public static final String position = "position"; - - /** - * 担保人月收入 STRING(32)
- */ - public static final String monthly_income = "monthly_income"; - /** * 担保人月支出 STRING(32)
*/ public static final String monthly_expenses = "monthly_expenses"; // 20230809 北财风控中台对接-担保人新增字段 + /** * 标识 STRING(32)
*/ diff --git a/src_jbo/jbo/com/tenwa/lease/comm/LB_GUARANTEE_UNIT_HIS.java b/src_jbo/jbo/com/tenwa/lease/comm/LB_GUARANTEE_UNIT_HIS.java index b657a370f..4c751b390 100644 --- a/src_jbo/jbo/com/tenwa/lease/comm/LB_GUARANTEE_UNIT_HIS.java +++ b/src_jbo/jbo/com/tenwa/lease/comm/LB_GUARANTEE_UNIT_HIS.java @@ -16,6 +16,33 @@ public interface LB_GUARANTEE_UNIT_HIS{ // 20230817 北财风控中台对接-担保人新增字段 + /** + * start_idexpiry 北财-证件有效期类型:1短期,2长期 STRING(32)
+ */ + public static final String idexpiry_type = "idexpiry_type"; + + /** + * start_idexpiry 有效期开始时间 STRING(32)
+ */ + public static final String start_idexpiry = "start_idexpiry"; + /** + * 担保人为企业时的法定代表人信息 STRING(32)
+ */ + public static final String legal_representative = "legal_representative"; + /** + * 出生日期 STRING(32)
+ */ + public static final String birthday = "birthday"; + + /** + * 子女数量 STRING(32)
+ */ + public static final String childrens_number = "childrens_number"; + /** + * 担保人居住状况 STRING(32)
+ */ + public static final String residential_status = "residential_status"; + /** * 担保人职务 STRING(32)
*/ @@ -68,16 +95,6 @@ public interface LB_GUARANTEE_UNIT_HIS{ */ public static final String education_level = "education_level"; - /** - * 担保人单位地址 STRING(32)
- */ - public static final String work_address = "work_address"; - - /** - * 担保人居住地址 STRING(32)
- */ - public static final String live_address = "live_address"; - /** * 担保人户籍地址 STRING(32)
*/ @@ -98,16 +115,6 @@ public interface LB_GUARANTEE_UNIT_HIS{ */ public static final String career_type = "career_type"; - /** - * 担保人职位 STRING(32)
- */ - public static final String position = "position"; - - /** - * 担保人月收入 STRING(32)
- */ - public static final String monthly_income = "monthly_income"; - /** * 担保人月支出 STRING(32)
*/