From 07a1d8377162f2657fee714c069ea7b6ca8cadc0 Mon Sep 17 00:00:00 2001 From: zzk Date: Tue, 19 Sep 2023 09:29:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E8=BF=99=E5=9D=97=E5=86=8D?= =?UTF-8?q?=E7=9C=8B=E4=B8=80=E4=B8=8B=EF=BC=8C=E9=99=A4=E4=BA=86=E7=BB=8F?= =?UTF-8?q?=E9=94=80=E5=95=86=EF=BC=8C=E5=85=B6=E4=BB=96=E4=BA=BA=E9=83=BD?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E4=BF=AE=E6=94=B9=E3=80=81=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E3=80=81=E5=88=A0=E9=99=A4=E7=9A=84=E6=9D=83=E9=99=90=EF=BC=8C?= =?UTF-8?q?=E5=8F=AA=E8=83=BD=E6=B5=8F=E8=A7=88=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp | 13 ++++++++++++- .../LBGuaranteeUnit/LBGuaranteePerUnitList.jsp | 6 ++++++ .../BusinessProjectTempInfo.jsp | 15 +++++++++++++-- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp index b227e9104..c2d65f7a8 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp @@ -24,6 +24,17 @@ String PhaseNo=CurPage.getParameter("PhaseNo"); String subjectId=CurPage.getParameter("SubjectId");//获取主体信息,用于是否签约查询 String channel=CurPage.getParameter("channel"); + + String falg = "false"; + + if("0010".equals(PhaseNo) || "0020".equals(PhaseNo) ){ + falg = "true"; + } + + if("合同制作流程".equals(flowName)){ + falg = "false"; + } + BizObjectManager ldclManager = JBOFactory.getBizObjectManager(LB_DOC_CONTRACT_LIST.CLASS_NAME); BizObject ldcls = ldclManager.createQuery("select * from O where file_flag='yes' and ( flow_unid=:flowunid or contract_id=:contractid ) ").setParameter("flowunid", FlowUnid).setParameter("contractid", contractId).getSingleResult(false); System.out.print("=========="+ldcls+"=========="); @@ -60,7 +71,7 @@ dwTemp.replaceColumn("S_PaymentCard", "", CurPage.getObjectWindowOutput()); String sButtons[][] = { - {"true","","Button","保存","保存所有修改","save()","","","",""}, + {falg,"","Button","保存","保存所有修改","save()","","","",""}, {"false","All","Button","校验银行卡信息","校验银行卡四要素","verifyFourelementBank()","","","","btn_icon_return"} } /* {String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""} diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitList.jsp index a89314246..c3351df7f 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBGuaranteeUnit/LBGuaranteePerUnitList.jsp @@ -11,6 +11,8 @@ String contractid = CurPage.getParameter("ContractId"); String showtype = CurPage.getParameter("ShowType"); String PhaseNo = CurPage.getParameter("PhaseNo"); + String flowName = CurPage.getParameter("FlowName"); + if("queryContract".equals(action)){ RightType = "ReadOnly"; } @@ -29,6 +31,10 @@ falg = "true"; } + if("合同制作流程".equals(flowName)){ + falg = "false"; + } + ASObjectModel doTemp = new ASObjectModel(sTempletNoQuery); // doTemp.appendHTMLStyle("FULLNAME","width:"+(int)((screen.getWidth()-(screen.getWidth()*0.108))*0.15)+"px;"); ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp index d13557373..e6699ff83 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/BusinessProjectTempInfo.jsp @@ -22,7 +22,18 @@ String custype = CurPage.getParameter("CustomerType"); String customertype = CurPage.getParameter("customertype"); String channel = CurPage.getParameter("channel"); - + String flowName = CurPage.getParameter("FlowName"); + + String falg = "false"; + + if("0010".equals(sPhaseNo) || "0020".equals(sPhaseNo) ){ + falg = "true"; + } + + if("合同制作流程".equals(flowName)){ + falg = "false"; + } + ASObjectModel doTemp = new ASObjectModel(sTempletNo); doTemp.setHtmlEvent("inputTel","onChange","checkTel"); //租赁形式set只读 @@ -60,7 +71,7 @@ dwTemp.genHTMLObjectWindow(CurPage.getParameter("FlowUnid")); dwTemp.replaceColumn("customer_info", "", CurPage.getObjectWindowOutput()); String sButtons[][] = { - {"ReadOnly".equals(rightType)?"false":"true","","Button","保存","保存","save()","","","","btn_icon_saveNew",""}, + {falg,"","Button","保存","保存","save()","","","","btn_icon_saveNew",""}, {"true","","Button","资料清单","资料清单","openFileList('1')","","","","btn_icon_saveNew",""}, {("BusinessApplyFlow".equals(FlowNo)||"BusinessChangeFlow".equals(FlowNo))&&("0030".equals(sPhaseNo)||"0040".equals(sPhaseNo)||"0050".equals(sPhaseNo)||"0060".equals(sPhaseNo)||"0070".equals(sPhaseNo))?"true":"false","","Button","信审资料","信审资料","openFileList('2')","","","","btn_icon_saveNew",""} };