<%@ page contentType="text/html; charset=GBK"%> <%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %> <%@ include file="/Frame/resources/include/include_begin_info.jspf"%><% /* Author: undefined 2017-06-26 Content: 示例详情页面 History Log: */ String flowunid = CurPage.getParameter("FlowUnid"); String RightType = CurPage.getParameter("RightType");//选择模式 String ishistory=CurPage.getParameter("IsHistory"); String nodeNo=CurPage.getParameter("NodeNo"); BizObject condition=JBOFactory.createBizObjectQuery("jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP","flowunid=:flowunid").setParameter("flowunid", flowunid).getSingleResult(false); String paymentnumber=condition.getAttribute("payment_number").getString(); String contractId=condition.getAttribute("contract_id").getString(); BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid); String productId=flow.getAttribute("productId").getString(); String sTempletNo = "LCContractTerminate";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); doTemp.setDefaultValue("PAYMENT_NUMBER", paymentnumber); doTemp.setHtmlEvent("PAYDAY_ADJUST","onchange","getTerminateInfo"); doTemp.setHtmlEvent("REPURCHASE_RATIO","onchange","getRepurchaseMoney"); ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); dwTemp.Style = "2";//freeform if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){ dwTemp.ReadOnly = "-2";//只读模式 isShowButton=false; }else{ isShowButton=true; } dwTemp.genHTMLObjectWindow(flowunid); String sButtons[][] = { {"true","","Button","提前结清","提前结清","saveRecord()","","","","btn_icon_settle"}, {"true","","Button","撤销结清","撤销结清","cancelChange()","","","","btn_icon_delete"} }; sButtonPosition = "south"; %><%@ include file="/Frame/resources/include/ui/include_info.jspf"%> <%@ include file="/Frame/resources/include/include_end.jspf"%>