From 27ddd13c1fbbaade992665132870f203e3faecf1 Mon Sep 17 00:00:00 2001 From: tangfutang Date: Fri, 27 Jul 2018 14:28:44 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B3=95=E4=BA=BA=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E4=B8=8D=E6=98=BE=E7=A4=BA=E6=80=A7=E5=88=AB?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp index f6a3ba7eb..8ed56050a 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp @@ -14,6 +14,7 @@ String phaseNo = CurPage.getAttribute("PhaseNo"); String taskno=CurPage.getParameter("TaskNo"); String RightType= CurPage.getParameter("RightType"); + String customerType= CurPage.getParameter("CustomerType"); String flowunid = CurPage.getParameter("FlowUnid"); String clean_lease_money = Sqlca.getString("select CLEAN_LEASE_MONEY from LC_CALC_CONDITION_TEMP where flowunid='"+flowunid+"'"); @@ -26,6 +27,9 @@ String sTempletNo = "VI_BUSINESS_APPROVAL";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); + if("01".equals(customerType)){ + doTemp.setVisible("SEX",false);//如果是法人客户隐藏性别字段 + } doTemp.setHtmlEvent("firstchoice","onChange","changeFirstChoice"); doTemp.setHtmlEvent("secondchoice","onChange","changeSecondChoice"); doTemp.setHtmlEvent("thirdchoice","onChange","changeThirdChoice"); From f10128ad11280a33b4608559cff6c058cc8f681f Mon Sep 17 00:00:00 2001 From: tangfutang Date: Fri, 27 Jul 2018 14:30:44 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E8=BA=AB=E4=BB=BD=E8=AF=81=E5=BF=85=E9=A1=BB?= =?UTF-8?q?=E6=98=AF18=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp | 6 +++++- .../BusinessApplication/CustomerFamilyJoinTempInfo.jsp | 6 +++++- .../Project/BusinessApplication/CustomerFamilyTempInfo.jsp | 6 +++++- .../BusinessApproval/ProjectApprovalCreationInfo.jsp | 6 +++++- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp index 4f093d119..d41b92a87 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitInfo.jsp @@ -64,7 +64,11 @@ return true; }else{ //setErrorTips("certId","身份证格式不正确!"); - alert("身份证格式不正确!"); + if(certId.length==18){ + alert("身份证格式错误!"); + }else{ + alert("身份证必须是18位!"); + } return false; } } diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp index 51515ae64..3968043a6 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp @@ -51,7 +51,11 @@ return true; }else{ //setErrorTips("certId","身份证格式不正确!"); - alert("身份证格式不正确!"); + if(certId.length==18){ + alert("身份证格式错误!"); + }else{ + alert("身份证必须是18位!"); + } return false; } diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp index 4a95a5b66..1547bfd28 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyTempInfo.jsp @@ -209,7 +209,11 @@ // } else{ parent.parent.openDWDialog(); - setErrorTips("certid","身份证格式有误!"); + if(certid.length==18){ + setErrorTips("certid","身份证格式错误!"); + }else{ + setErrorTips("certid","身份证必须是18位!"); + } parent.parent.resetDWDialog("配偶身份证信息错误!",false); return false; } diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp index 790151371..91a77ed3d 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApproval/ProjectApprovalCreationInfo.jsp @@ -421,7 +421,11 @@ if(CheckLicense(certid) ){ return true; }else{ - setErrorTips("certid","身份证格式错误!"); + if(certid.length==18){ + setErrorTips("certid","身份证格式错误!"); + }else{ + setErrorTips("certid","身份证必须是18位!"); + } return false; } } From 205f370e94a101bc17cec073417e20d48dd840f2 Mon Sep 17 00:00:00 2001 From: tangfutang Date: Fri, 27 Jul 2018 14:31:43 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E5=81=B6?= =?UTF-8?q?=E7=9A=84=E5=B1=85=E4=BD=8F=E5=9C=B0=E5=9D=80=E5=A1=AB=E5=86=99?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E5=90=8E=EF=BC=8C=E4=B8=8D=E8=A7=81=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../flow/project/businessapply/CustomerInfoManage.java | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 639ed10b7..687855830 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoManage.java +++ b/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoManage.java @@ -42,6 +42,7 @@ public class CustomerInfoManage { private String smincome; private String shukou; private String projectId; + private String workunit; public String getF_I_TYPE() { return F_I_TYPE; @@ -218,6 +219,13 @@ public class CustomerInfoManage { public void setFlowunid(String flowunid) { this.flowunid = flowunid; } + public String getWorkunit() { + return workunit; + } + + public void setWorkunit(String workunit) { + this.workunit = workunit; + } public String saveCustomerFamilyFormal(JBOTransaction tx){ try{ @@ -261,6 +269,7 @@ public class CustomerInfoManage { bo.setAttributeValue("shukou", shukou); bo.setAttributeValue("Spouse_", "Y"); bo.setAttributeValue("PROJECT_ID", projectId); + bo.setAttributeValue("workunit", workunit); }else{ bo = bom.newObject(); bo.setAttributeValue("flowunid", flowunid); @@ -279,6 +288,7 @@ public class CustomerInfoManage { bo.setAttributeValue("shukou", shukou); bo.setAttributeValue("Spouse_", "Y"); bo.setAttributeValue("PROJECT_ID", projectId); + bo.setAttributeValue("workunit", workunit); } bom.saveObject(bo); }catch(Exception e){