From f2893fe8c91820a6ce71c168700eab73f9d5c186 Mon Sep 17 00:00:00 2001 From: tenwaPC Date: Sun, 22 Jul 2018 22:00:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=9E=8D=E7=A7=9F=E6=AF=94=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=EF=BC=9B=E4=BB=98=E6=AC=BE?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E8=AE=BE=E7=BD=AE=E5=95=86=E5=8A=A1=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E5=8F=AA=E8=AF=BB=EF=BC=9B=E6=A0=B9=E6=8D=AE=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E9=98=B6=E6=AE=B5=E7=9A=84=E4=B8=8D=E5=90=8C=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=8D=E5=90=8C=E7=9A=84=E7=A7=9F=E9=87=91=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E8=A1=A8=EF=BC=9B=E8=B5=84=E9=87=91=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E5=92=8C=E7=8E=B0=E9=87=91=E6=B5=81=E4=B8=8D=E5=AF=B9=E7=BB=8F?= =?UTF-8?q?=E9=94=80=E5=95=86=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Accounting/LoanSimulation/LoanBasicInfo.jsp | 5 +++++ .../Accounting/LoanSimulation/RentPlanList.jsp | 12 ++++++++++++ .../Accounting/LoanSimulation/condition_plan.jsp | 6 ++++-- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp index 0e385bd14..ea7e4419b 100644 --- a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp +++ b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp @@ -25,6 +25,8 @@ String nodeNo=CurPage.getParameter("NodeNo"); String RightType= CurPage.getParameter("RightType"); String calType = CurPage.getParameter("calType"); + String FlowNo = CurPage.getParameter("FlowNo"); + String PhaseNo = CurPage.getParameter("PhaseNo"); //判断是否为汽车业务 boolean isCarProduct = "004".equals(productId) ? false : true; /*获取参数*/ @@ -129,6 +131,9 @@ /*设置页面属性*/ CurPage.getCurComp().setAttribute("RightType", null); + if(FlowNo.equals("BusinessApplyFlow")&&(PhaseNo.equals("0010")||PhaseNo.equals("0020"))){ + doTemp.setVisible("RENT_RATIO",false); + } Parameter p=new Parameter("plannumber",plannumber); Vector v=CurPage.parameterList; v.add(p); diff --git a/WebContent/Accounting/LoanSimulation/RentPlanList.jsp b/WebContent/Accounting/LoanSimulation/RentPlanList.jsp index 7f04440f5..4da1cf2e5 100644 --- a/WebContent/Accounting/LoanSimulation/RentPlanList.jsp +++ b/WebContent/Accounting/LoanSimulation/RentPlanList.jsp @@ -20,6 +20,18 @@ if(null!=ishistory&&ishistory.equals("true")){ doTemp.setDataQueryClass("com.tenwa.lease.flow.flowarchive.calcarchive.CalcRentListArachiveShow"); } + String Distributor=CurPage.getParameter("isDistributor"); + if("true".equals(Distributor)){ + doTemp.setVisible("CORPUS", false); + doTemp.setVisible("INTEREST", false); + doTemp.setVisible("CORPUS_BUSINESS", false); + doTemp.setVisible("INTEREST_BUSINESS", false); + } + String orgid = CurUser.getOrgID(); + if("8009012002".equals(orgid)){ + doTemp.setVisible("CORPUS", false); + doTemp.setVisible("INTEREST", false); + } CurPage.setAttribute("modelno","rent"); doTemp.setJboClass(tcb.getRentPlan_tb()); ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); diff --git a/WebContent/Accounting/LoanSimulation/condition_plan.jsp b/WebContent/Accounting/LoanSimulation/condition_plan.jsp index 5fa5ecfa4..831ffbd51 100644 --- a/WebContent/Accounting/LoanSimulation/condition_plan.jsp +++ b/WebContent/Accounting/LoanSimulation/condition_plan.jsp @@ -11,10 +11,12 @@ String params="flowunid="+flowunid+"&plannumber="+plannumber+"&planCName="+planCName+"&calType="+calType+"&IsHistory="+IsHistory+"&RightType="+RightType+"&ProductId="+productId; //参数:0.是否显示, 1.标题,2.URL,3,参数串, 4. Strip高度(默认600px),5. 是否有关闭按钮(默认无) 6. 是否缓存(默认是) +// String userid = CurUser.getUserID(); + String orgid = CurUser.getOrgID(); String sTabStrip[][] = { {"true", "租金计划", "/Accounting/LoanSimulation/RentPlanList.jsp",params, "", "", "false"}, - {"true", "资金计划", "/Accounting/LoanSimulation/FundPlanList.jsp",params, "", "", "false"}, - {"true", "现金流", "/Accounting/LoanSimulation/CashFlowList.jsp",params, "", "", "false"}, + {"8009012002".equals(orgid)?"true":"false", "资金计划", "/Accounting/LoanSimulation/FundPlanList.jsp",params, "", "", "false"}, + {"8009012002".equals(orgid)?"true":"false", "现金流", "/Accounting/LoanSimulation/CashFlowList.jsp",params, "", "", "false"}, }; %> <%@ include file="/Resources/CodeParts/Tab01.jsp"%>