%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
String sPrevUrl = CurPage.getParameter("PrevUrl");
String ishistory=CurPage.getParameter("IsHistory");
String nodeNo=CurPage.getParameter("NodeNo");
String taskno=CurPage.getParameter("TaskNo");
if(sPrevUrl == null) sPrevUrl = "";
String RightType= CurPage.getParameter("RightType");
String sTempletNo = "ContractRentPlanInfo_temp";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
/* doTemp.setHtmlEvent("equip_num","onkeyup","adjustTotalPrice");
doTemp.setHtmlEvent("price","onkeyup","adjustTotalPrice"); */
String flow_unid=CurPage.getParameter("flow_unid");
doTemp.setDefaultValue("flow_unid", flow_unid);
String rentList = CurPage.getParameter("rentList");
doTemp.setDefaultValue("RENT_LIST", rentList);
doTemp.setDefaultValue("plan_status", "未回笼");
if(null!=ishistory&&ishistory.equals("true")){
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataInfoHistory");//如果是历史则新显示历史数据
}
CurPage.getCurComp().setAttribute("RightType", null);
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";//只读模式
}
dwTemp.genHTMLObjectWindow(CurPage.getParameter("id"));
CurPage.getCurComp().setAttribute("RightType", RightType);
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","saveData()","","","",""},
{"true","","Button","返回","返回列表页面","goBack()","","","","btn_icon_return",""}
};
//sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<%@ include file="/Frame/resources/include/include_end.jspf"%>