%@page import="com.amarsoft.app.accounting.config.impl.CashFlowConfig"%>
<%@page import="com.amarsoft.app.base.config.impl.BusinessComponentConfig"%>
<%@page import="com.amarsoft.app.base.util.DateHelper"%>
<%@page import="com.amarsoft.app.base.businessobject.BusinessObjectHelper"%>
<%@page import="com.amarsoft.app.base.businessobject.BusinessObject"%>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%>
<%-- --%>
<%
String sTempletNo = "LoanSimulationBasicInfoChange";//--模板号--
String RightType= CurPage.getParameter("RightType");
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
String docId = CurPage.getParameter("flow_unid");
String contractId = CurPage.getParameter("contractId");
if(docId == null){
docId = "100000";
}
String calType = CurPage.getParameter("calType");
if(calType == null){
calType = "proj_process";
}
doTemp.setHtmlEvent("SETTLE_METHOD", "onchange", "changeSettleMethod");
CurPage.getCurComp().setAttribute("RightType", null);
ASObjectWindow dwTemp = new ASObjectWindow(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");//如果是历史则新显示历史数据
}
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
dwTemp.ReadOnly = "-2";//只读模式
isShowButton=false;
}else{
isShowButton=true;
}
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//只读模式
dwTemp.genHTMLObjectWindow(docId);
CurPage.getCurComp().setAttribute("RightType", RightType);//
//字段显示子页面
for (int i = 0; i < dwTemp.getDataObject().Columns.size(); ++i){
ASColumn column = (ASColumn) dwTemp.getDataObject().Columns.get(i);
String htmlStyle = column.getAttribute("ColHTMLStyle");
if(!StringX.isEmpty(htmlStyle) && htmlStyle.indexOf("iframe") > -1)
{
String name = column.getAttribute("ColName");
dwTemp.replaceColumn(name, htmlStyle, CurPage.getObjectWindowOutput());
}
}
String compClientID = request.getParameter("CompClientID");
dwTemp.replaceColumn("condition_plan", "", CurPage.getObjectWindowOutput());
dwTemp.replaceColumn("knowing_config", "", CurPage.getObjectWindowOutput());
String businessDate = DateHelper.getBusinessDate();
String sButtons[][] = {
//{"true","All","Button","重置","重置","reloadSelf()","","","",""},
{"true","All","Button","租金测算","租金测算","saveRecord()","","","",""}
};
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<%@ include file="/Frame/resources/include/include_end.jspf"%>