From 81647f8c402f274bd4956a6a339934348aa07de2 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Sat, 28 Jul 2018 17:05:55 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=95=86=E5=8A=A1=E6=9D=A1=E4=BB=B6=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E7=A7=9F=E9=87=91=E8=AE=A1=E5=88=92=EF=BC=8C=E7=BB=8F?= =?UTF-8?q?=E9=94=80=E5=95=86=E5=8F=AA=E6=98=BE=E7=A4=BA=E6=9C=9F=E6=AC=A1?= =?UTF-8?q?=EF=BC=8C=E8=AE=A1=E5=88=92=E6=97=A5=E6=9C=9F=EF=BC=8C=E7=A7=9F?= =?UTF-8?q?=E9=87=91=EF=BC=9B=E9=9D=9E=E8=B4=A2=E5=8A=A1=E7=9A=84=E5=86=85?= =?UTF-8?q?=E9=83=A8=E4=BA=BA=E5=91=98=E6=98=BE=E7=A4=BA=E6=9C=9F=E6=AC=A1?= =?UTF-8?q?=EF=BC=8C=E8=AE=A1=E5=88=92=E6=97=A5=E6=9C=9F=EF=BC=8C=E7=A7=9F?= =?UTF-8?q?=E9=87=91=EF=BC=8C=E4=B8=9A=E5=8A=A1=E6=9C=AC=E9=87=91=EF=BC=8C?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E5=88=A9=E6=81=AF=EF=BC=9B=E8=B4=A2=E5=8A=A1?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=9C=9F=E6=AC=A1=EF=BC=8C=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E6=97=A5=E6=9C=9F=EF=BC=8C=E7=A7=9F=E9=87=91=EF=BC=8C=E4=B8=9A?= =?UTF-8?q?=E5=8A=A1=E6=9C=AC=E9=87=91=EF=BC=8C=E4=B8=9A=E5=8A=A1=E5=88=A9?= =?UTF-8?q?=E6=81=AF=EF=BC=8C=E8=B4=A2=E5=8A=A1=E6=9C=AC=E9=87=91=EF=BC=8C?= =?UTF-8?q?=E8=B4=A2=E5=8A=A1=E5=88=A9=E6=81=AF=202.=E6=9C=9F=E6=9C=AB?= =?UTF-8?q?=E4=BF=9D=E8=AF=81=E9=87=91=E5=A4=84=E7=90=86=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E9=9A=90=E8=97=8F=EF=BC=9B=E8=B4=B4=E6=81=AF=E9=87=91=E9=A2=9D?= =?UTF-8?q?=E5=8F=AA=E6=9C=89=E5=AE=89=E9=B9=8F=E4=BA=BA=E5=91=98=E8=83=BD?= =?UTF-8?q?=E7=9C=8B=EF=BC=8C=E7=BB=8F=E9=94=80=E5=95=86=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E7=9C=8B=EF=BC=9B=E6=B5=8B=E7=AE=97=E5=B9=B4=E5=88=A9=E7=8E=87?= =?UTF-8?q?=E5=8F=AA=E7=BB=99=E4=BF=A1=E5=AE=A1=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp | 10 ++++++++++ WebContent/Accounting/LoanSimulation/RentPlanList.jsp | 5 ++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp index 3cc66ae89..63b3587e0 100644 --- a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp +++ b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp @@ -139,6 +139,16 @@ }else{ doTemp.setVisible("RENT_RATIO",false); } + + + if(CurUser.hasRole("401")){ + doTemp.setVisible("DISCOUNT", false); + // doTemp.setColumnAttribute("DISCOUNT","colvisible","0"); + } + if(CurUser.hasRole("800R00000013")||CurUser.hasRole("800R00000014")||CurUser.hasRole("800R00000015")){ + doTemp.setVisible("YEAR_RATE", true); + } + ASObjectWindowCalc dwTemp = new ASObjectWindowCalc(CurPage, doTemp,request); diff --git a/WebContent/Accounting/LoanSimulation/RentPlanList.jsp b/WebContent/Accounting/LoanSimulation/RentPlanList.jsp index 5db469a03..f58de4d96 100644 --- a/WebContent/Accounting/LoanSimulation/RentPlanList.jsp +++ b/WebContent/Accounting/LoanSimulation/RentPlanList.jsp @@ -21,14 +21,13 @@ doTemp.setDataQueryClass("com.tenwa.lease.flow.flowarchive.calcarchive.CalcRentListArachiveShow"); } String Distributor=CurPage.getParameter("isDistributor"); + String orgid = CurUser.getOrgID(); if("true".equals(Distributor)||CurUser.hasRole("401")){ 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)){ + }else if(!"8009012002".equals(orgid)){ doTemp.setVisible("CORPUS", false); doTemp.setVisible("INTEREST", false); }