融租比字段显示问题;付款申请设置商务条件只读;根据部门阶段的不同显示不同的租金计划表;资金计划和现金流不对经销商展示

This commit is contained in:
tenwaPC 2018-07-22 22:00:00 +08:00
parent 979336b182
commit f2893fe8c9
3 changed files with 21 additions and 2 deletions

View File

@ -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<Parameter> v=CurPage.parameterList;
v.add(p);

View File

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

View File

@ -11,10 +11,12 @@
String params="flowunid="+flowunid+"&plannumber="+plannumber+"&planCName="+planCName+"&calType="+calType+"&IsHistory="+IsHistory+"&RightType="+RightType+"&ProductId="+productId;
//参数0.是否显示, 1.标题2.URL3参数串, 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"%>