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);