diff --git a/WebContent/Accounting/LoanSimulation_old/RentPlanList.jsp b/WebContent/Accounting/LoanSimulation_old/RentPlanList.jsp index d3b884b5f..495d2609a 100644 --- a/WebContent/Accounting/LoanSimulation_old/RentPlanList.jsp +++ b/WebContent/Accounting/LoanSimulation_old/RentPlanList.jsp @@ -1,22 +1,29 @@ <%@ page contentType="text/html; charset=GBK"%> <%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% String paymentnumber = CurPage.getParameter("plannumber"); - ASObjectModel doTemp = new ASObjectModel("LCRentPlanList"); - ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); - String ishistory=CurPage.getParameter("IsHistory"); - String nodeNo=CurPage.getParameter("NodeNo"); + String ishistory= CurPage.getParameter("IsHistory"); + String flowunid = CurPage.getParameter("FlowUnid"); + String modelName = "LCRentPlanList"; + String parm = paymentnumber; if(null!=ishistory&&ishistory.equals("true")){ //doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataListHistory");//如果是历史则新显示历史数据 + modelName = "LCRentPlanListHis"; + parm = flowunid; isShowButton=false; }else{ isShowButton=true; } + ASObjectModel doTemp = new ASObjectModel(modelName); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + + String nodeNo=CurPage.getParameter("NodeNo"); + dwTemp.ShowSummary="1"; //汇总 dwTemp.Style="1"; dwTemp.ReadOnly = "1"; dwTemp.setPageSize(100); - dwTemp.genHTMLObjectWindow(paymentnumber); + dwTemp.genHTMLObjectWindow(parm); String sButtons[][] = { };