%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
String id = CurPage.getParameter("ID");
String sTempletNo = CurPage.getParameter("TempletNo");//模板号
if(sTempletNo == null) sTempletNo = "LBContractInvoiceObjectListTemp";
String sInfoTempletNo = CurPage.getParameter("InfoTempletNo");//模板号
if(sInfoTempletNo == null) sInfoTempletNo = "LBContractInvoiceObjectInfoTemp";
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
if(sFlowUnid == null)sFlowUnid = "";
String RightType= CurPage.getParameter("RightType");
if(RightType == null) RightType = "";
String taskno=CurPage.getParameter("TaskNo");
if(taskno == null) taskno = "";
String ishistory=CurPage.getParameter("IsHistory");
if(ishistory == null) ishistory = "";
String nodeNo=CurPage.getParameter("NodeNo");
ASObjectModel doTemp = new ASObjectModel(sInfoTempletNo);
doTemp.setHtmlEvent("TAX_REG_TYPE", "onchange","changeRequired");
if(null!=ishistory&&ishistory.equals("true")){
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataInfoHistory");//如果是历史则新显示历史数据
}
CurPage.getCurComp().setAttribute("RightType", null);
%>
<%@ include file="/Tenwa/Lease/Flow/Comm/baseShowInfoFormal.jspf"%>
<%
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
dwTemp.ReadOnly = "-2";//只读模式
RightType = "ReadOnly";
}
dwTemp.genHTMLObjectWindow(id);
CurPage.getCurComp().setAttribute("RightType", RightType);
String sButtons[][] =null;
sButtons =new String[][] {
{"true","All","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"},
{"true","","Button","返回","返回列表","goBack()","","","","btn_icon_return"}
};
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<%@ include file="/Frame/resources/include/include_end.jspf"%>