From d088c025a51e7e60896d1c9eceb2586bb582ae5c Mon Sep 17 00:00:00 2001 From: zhanglei Date: Thu, 31 Aug 2023 11:37:22 +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-=E8=AF=81=E4=BB=B6=E6=9C=89=E6=95=88=E6=9C=9F?= =?UTF-8?q?=E7=BB=93=E6=9D=9F=E6=97=A5=E6=9C=9F=E8=B0=83=E6=95=B4=EF=BC=8C?= =?UTF-8?q?=E5=85=B1=E5=90=8C=E7=94=B3=E8=AF=B7=E4=BA=BA=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E6=89=8B=E6=9C=BA=E5=8F=B7=E5=88=A4=E6=96=AD=E8=B0=83=E6=95=B4?= =?UTF-8?q?=EF=BC=8C=E4=BB=A5=E5=8F=8A=E9=A1=B5=E9=9D=A2bug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LBGuaranteePerUnitInfo.jsp | 3 ++- .../CustomerFamilyJoinTempInfo.jsp | 23 +++++++++++++++---- .../CustomerFamilyTempInfo.jsp | 2 +- .../BusinessApplication/CustomerInfo.jsp | 2 +- .../businessapply/CustomerInfoManage.java | 2 ++ 5 files changed, 25 insertions(+), 7 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp index b4b3ef540..75ff34b86 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp @@ -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()"); } diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp index 615a3d682..f400f943c 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp @@ -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","该手机号已重复!"); diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp index eb6fef26c..efe50972a 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp @@ -93,7 +93,7 @@ } }else { setItemReadOnly(0,0,"IDEXPIRY",true); - setItemValue(0,0,"IDEXPIRY","0000"); + setItemValue(0,0,"IDEXPIRY","2100/12/31"); } } diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp index 7f04aa061..ba8f0e6b3 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp @@ -918,7 +918,7 @@ } }else { setItemReadOnly(0,0,"IDEXPIRY",true); - setItemValue(0,0,"IDEXPIRY","0000"); + setItemValue(0,0,"IDEXPIRY","2100/12/31"); } } diff --git a/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoManage.java b/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoManage.java index 297fb8ecd..2841a9f61 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoManage.java +++ b/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoManage.java @@ -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);