<%@page import="com.tenwa.reckon.product.ProductCondition"%> <%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %> <%@ page import="java.util.Vector" %> <%@ page import="com.amarsoft.awe.dw.ui.validator.ValidateRule" %> <%@ page import="com.tenwa.reckon.product.ASObjectWindowCalc" %> <%@ page contentType="text/html; charset=GBK"%> <%@ include file="/Frame/resources/include/include_begin_info.jspf"%> <% String sTempletNo = "LoanSimulationBasicInfo_old";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); String flowunid = CurPage.getParameter("FlowUnid"); String plannumber=CurPage.getParameter("plannumber"); BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid); String productId=flow.getAttribute("productId").getString(); String calType ="pay_process"; String planCName="PAYMENT_NUMBER"; BizObject condtion=JBOFactory.createBizObjectQuery("jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP","flowunid=:flowunid and PAYMENT_NUMBER is not null").setParameter("flowunid", flowunid).getSingleResult(false); if(condtion!=null){ plannumber=condtion.getAttribute(planCName).getString(); } String RightType= CurPage.getParameter("RightType"); Vector vali=new Vector(); //费用规则 ProductCondition pc=new ProductCondition(); String calcRules=pc.getProductRules(doTemp, productId,vali); CurPage.getCurComp().setAttribute("RightType", null); doTemp.appendJboWhere(" and "+planCName+"='"+plannumber+"'"); ASObjectWindowCalc dwTemp = new ASObjectWindowCalc(CurPage, doTemp,request); String ishistory=CurPage.getParameter("IsHistory"); String nodeNo=CurPage.getParameter("NodeNo"); if(null!=ishistory&&ishistory.equals("true")){ //doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataInfoHistory");//如果是历史则新显示历史数据 } dwTemp.Style = "2";//freeform if((null!=RightType&&RightType.equals("ReadOnly"))){ dwTemp.ReadOnly = "-2";//只读模式 }else{ } isShowButton=false; dwTemp.setAttr("inputWidth","120"); dwTemp.setAttr("spanWidth","107"); dwTemp.setAttr("showRatio", true); dwTemp.genHTMLObjectWindow(plannumber); CurPage.getCurComp().setAttribute("RightType", RightType); String compClientID = request.getParameter("CompClientID"); dwTemp.replaceColumn("condition_plan", "", CurPage.getObjectWindowOutput()); dwTemp.replaceColumn("even_subsection", "", CurPage.getObjectWindowOutput()); dwTemp.replaceColumn("knowing_config", "", CurPage.getObjectWindowOutput()); String sButtons[][] = { }; %><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> <%@ include file="/Frame/resources/include/include_end.jspf"%>