diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp
index fb78034b1..b4b3ef540 100644
--- a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp
@@ -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");
diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp
index c97c4d1ce..615a3d682 100644
--- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp
@@ -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_"){
diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp
index 212ec9ec8..c730a99d1 100644
--- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp
@@ -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");
diff --git a/WebContent/WEB-INF/etc/jbo/jbo_customer.xml b/WebContent/WEB-INF/etc/jbo/jbo_customer.xml
index 97a790e36..0ef20200e 100644
--- a/WebContent/WEB-INF/etc/jbo/jbo_customer.xml
+++ b/WebContent/WEB-INF/etc/jbo/jbo_customer.xml
@@ -478,6 +478,7 @@
+
@@ -2788,6 +2789,7 @@
+
diff --git a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml
index 8ea2d782e..4b6759b67 100644
--- a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml
+++ b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml
@@ -4240,6 +4240,7 @@
+
diff --git a/src_jbo/jbo/app/tenwa/customer/CUSTOMER_FAMILY_TEMP.java b/src_jbo/jbo/app/tenwa/customer/CUSTOMER_FAMILY_TEMP.java
index 55a3bd09f..8c624df96 100644
--- a/src_jbo/jbo/app/tenwa/customer/CUSTOMER_FAMILY_TEMP.java
+++ b/src_jbo/jbo/app/tenwa/customer/CUSTOMER_FAMILY_TEMP.java
@@ -16,6 +16,10 @@ public interface CUSTOMER_FAMILY_TEMP{
// 20230817 北财风控中台对接-共同申请人出生日期
+ /**
+ * start_idexpiry 北财-证件有效期类型:1短期,2长期 STRING(32)
+ */
+ public static final String idexpiry_type = "idexpiry_type";
/**
* start_idexpiry 有效期开始时间 STRING(32)
diff --git a/src_jbo/jbo/app/tenwa/customer/CUSTOMER_PERSON_TEMP.java b/src_jbo/jbo/app/tenwa/customer/CUSTOMER_PERSON_TEMP.java
index 64574aa88..eaa15ba53 100644
--- a/src_jbo/jbo/app/tenwa/customer/CUSTOMER_PERSON_TEMP.java
+++ b/src_jbo/jbo/app/tenwa/customer/CUSTOMER_PERSON_TEMP.java
@@ -16,6 +16,11 @@ public interface CUSTOMER_PERSON_TEMP{
// 20230809 北财风控中台对接-承租人新增字段
+ /**
+ * start_idexpiry 北财-证件有效期类型:1短期,2长期 STRING(32)
+ */
+ public static final String idexpiry_type = "idexpiry_type";
+
/**
* start_idexpiry 有效期开始时间 STRING(32)
*/
diff --git a/src_jbo/jbo/com/tenwa/lease/comm/LB_GUARANTEE_UNIT_TEMP.java b/src_jbo/jbo/com/tenwa/lease/comm/LB_GUARANTEE_UNIT_TEMP.java
index 8e81e5a50..791701c39 100644
--- a/src_jbo/jbo/com/tenwa/lease/comm/LB_GUARANTEE_UNIT_TEMP.java
+++ b/src_jbo/jbo/com/tenwa/lease/comm/LB_GUARANTEE_UNIT_TEMP.java
@@ -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)
+ */
+ public static final String idexpiry_type = "idexpiry_type";
+
/**
* start_idexpiry 有效期开始时间 STRING(32)
*/