1.重构RentPlanIncomeList.JSP页面

This commit is contained in:
zhangbb 2019-05-23 11:48:09 +08:00
parent ffb650a9c4
commit 5fe5b2530c
3 changed files with 57 additions and 1 deletions

View File

@ -0,0 +1,36 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@page import="com.amarsoft.are.jbo.BizObject"%>
<%@page import="com.amarsoft.are.jbo.JBOException"%>
<%@page import="com.amarsoft.are.jbo.JBOFactory"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2019-05-21
Content:
History Log:
*/
String contract_id=CurPage.getParameter("id");
String plannumber = CurPage.getParameter("plannumber");
String sDONo = "VI_LC_RENT_INCOME";
BizObject status=JBOFactory.createBizObjectQuery("jbo.app.tenwa.calc.LC_CALC_CONDITION_STATUS","contract_id=:contract_id").setParameter("contract_id", contract_id).getSingleResult(false);
if(status==null){
sDONo="LC_PAY_RENT_PLAN";
}
ASObjectModel doTemp = new ASObjectModel(sDONo);
if(plannumber!=null&&plannumber.length()>0&&!"null".equals(plannumber)){
doTemp.appendJboWhere(" and payment_number='"+plannumber+"'");
}
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(20);
dwTemp.genHTMLObjectWindow(contract_id);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -12,7 +12,7 @@
}
//参数0.是否显示, 1.标题2.URL3参数串, 4. Strip高度(默认600px)5. 是否有关闭按钮(默认无) 6. 是否缓存(默认是)
String sTabStrip[][] = {
{falg, "×â½ð¼Æ»®", "/Accounting/LoanSimulation_formal/RentPlanIncomeList.jsp",params, "", "", "false"},
{falg, "×â½ð¼Æ»®(»ØÁý)", "/Accounting/LoanSimulation_formal/RentPlanIncomeList_new.jsp",params, "", "", "false"},
{falg.equals("true")?"false":"true", "租金计划", "/Accounting/LoanSimulation_formal/RentPlanList.jsp",params, "", "", "false"},
{"true", "资金计划", "/Accounting/LoanSimulation_formal/FundPlanList.jsp",params, "", "", "false"},
{"true", "现金流", "/Accounting/LoanSimulation_formal/CashFlowList.jsp",params, "", "", "false"},

View File

@ -3948,6 +3948,26 @@
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="VI_LC_RENT_INCOME" label="租金计划回笼" keyAttributes="">
<attributes>
<attribute name="CONTRACT_ID" label="合同ID" type="STRING" length="32"/>
<attribute name="PAYMENT_NUMBER" label="支付编号" type="STRING" length="32"/>
<attribute name="PLAN_LIST" label="期次" type="STRING" length="32"/>
<attribute name="PLAN_DATE" label="计划日期" type="STRING" length="50"/>
<attribute name="RENT" label="租金" type="DOUBLE" length="22" scale="2"/>
<attribute name="CORPUS" label="本金" type="DOUBLE" length="22" scale="2"/>
<attribute name="INTEREST" label="利息" type="DOUBLE" length="22" scale="2"/>
<attribute name="RENT_OVERAGE" label="租金余额" type="DOUBLE" length="22" scale="2"/>
<attribute name="CORPUS_OVERAGE" label="本金余额" type="DOUBLE" length="22" scale="2"/>
<attribute name="INTEREST_OVERAGE" label="利息余额" type="DOUBLE" length="22" scale="2"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="VI_LC_RENT_INCOME" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
</package>
</jbo>