41 lines
1.5 KiB
Plaintext
41 lines
1.5 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
|
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
|
|
|
|
String id=CurPage.getParameter("id");
|
|
String calType = CurPage.getParameter("calType");
|
|
String plannumber = CurPage.getParameter("plannumber");
|
|
String planCName="PROJECT_PLAN_NUMBER";
|
|
String tableName="";
|
|
String jbowhere="";
|
|
if("proj_process".equals(calType)){
|
|
planCName="PROJECT_PLAN_NUMBER";
|
|
tableName="jbo.app.tenwa.calc.LC_PROJ_RENT_PLAN";
|
|
jbowhere="project_id=:id";
|
|
}else if("pay_process".equals(calType)){
|
|
planCName="PAYMENT_NUMBER";
|
|
tableName="jbo.app.tenwa.calc.LC_PAY_RENT_PLAN";
|
|
jbowhere="contract_id=:id";
|
|
}else{
|
|
planCName="CONTRACT_PLAN_NUMBER";
|
|
tableName="jbo.app.tenwa.calc.LC_CONTRACT_RENT_PLAN";
|
|
jbowhere="contract_id=:id";
|
|
}
|
|
ASObjectModel doTemp = new ASObjectModel("LCRentPlanTemp");
|
|
doTemp.setJboClass(tableName);
|
|
doTemp.setJboWhere(jbowhere);
|
|
CurPage.getCurComp().setAttribute("RightType","ReadOnly");
|
|
if(plannumber!=null&&plannumber.length()>0&&!"null".equals(plannumber)){
|
|
doTemp.appendJboWhere(" and "+planCName+"='"+plannumber+"'");
|
|
}
|
|
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
|
dwTemp.ShowSummary="1"; //»ã×Ü
|
|
dwTemp.Style="1";
|
|
dwTemp.ReadOnly = "1";
|
|
dwTemp.setPageSize(100);
|
|
|
|
dwTemp.genHTMLObjectWindow(id);
|
|
String sButtons[][] = {
|
|
};
|
|
|
|
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
|
<%@ include file="/Frame/resources/include/include_end.jspf"%> |