%@ page contentType="text/html; charset=GBK"%>
<%@page import="com.tenwa.reckon.util.TbBeanTools"%>
<%@page import="com.tenwa.reckon.bean.TabCalBean"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
String flowunid=CurPage.getParameter("flowunid");//流程编号
String plannumber=CurPage.getParameter("plannumber");//方案编号
String planCName=CurPage.getParameter("planCName");//项目方案 合同方案 投放编号 列名
String calType=CurPage.getParameter("calType");//项目方案 合同方案 投放编号 列名
TabCalBean tcb=TbBeanTools.getTabInfo(calType);
if(flowunid == null) flowunid = "100000";
String RightType= CurPage.getParameter("RightType");
String method= CurPage.getParameter("method");
if(method==null)method="";
String taskno=CurPage.getParameter("TaskNo");
String ishistory=CurPage.getParameter("IsHistory");
String nodeNo=CurPage.getParameter("NodeNo");
ASObjectModel doTemp = new ASObjectModel("LCRentPlanTemp");
doTemp.appendJboWhere(" and "+planCName+"='"+plannumber+"'");
/* if(null!=ishistory&&ishistory.equals("true")){
doTemp.setDataQueryClass("com.tenwa.lease.flow.flowarchive.calcarchive.CalcRentListArachiveShow");
} */
String Distributor=CurPage.getParameter("isDistributor");
String orgid = CurUser.getOrgID();
if(CurUser.hasRole("401")){
doTemp.setVisible("CORPUS", false);
doTemp.setVisible("INTEREST", false);
doTemp.setVisible("CORPUS_BUSINESS", false);
doTemp.setVisible("INTEREST_BUSINESS", false);
}
CurPage.setAttribute("modelno","rent");
doTemp.setJboClass(tcb.getRentPlan_tb());
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ShowSummary="1"; //汇总
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(100);
dwTemp.genHTMLObjectWindow(flowunid);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
String sButtons[][] =null;
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
RightType="ReadOnly";
sButtons=new String[][] {
};
}else{
sButtons=new String[][] {
{"false","","Button","租金调整","租金调整","rentAdjust()","","","","btn_icon_set",""},
{method.equals("irregular_rent")+"","","Button","不规则导入","不规则导入","importRent()","","","","btn_icon_import",""},
{method.equals("irregular_rent")+"","","Button","模板下载","模板下载","downloadTemplate()","","","","btn_icon_down",""},
};
}
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<%@ include file="/Frame/resources/include/include_end.jspf"%>