<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: hp $Date: 2014-1-7 下午02:47:38 $Revision: 1.0 $Purpose: --> <a:screen xmlns:a="http://www.leaf-framework.org/application"> <a:init-procedure> <a:model-query model="gld.gld_period_status" rootPath="gld_periods_combo"/> </a:init-procedure> <a:view> <script type="text/javascript"><![CDATA[ function query() { $('con_finance_income_result_ds').query(); } function reset() { $('con_finance_income_query_ds').reset(); } ]]></script> <a:dataSets> <a:dataSet id="con330_period_name_ds"> <a:datas dataSource="/model/gld_periods_combo"/> </a:dataSet> <a:dataSet id="con_finance_income_query_ds"> <a:fields> <a:field name="period_name_from" displayField="period_name" options="con330_period_name_ds" returnField="period_name_from" valueField="period_name"/> <a:field name="period_name_to" displayField="period_name" options="con330_period_name_ds" returnField="period_name_to" valueField="period_name"/> <a:field name="contract_id"/> <a:field name="contract_number" lovGridHeight="300" lovHeight="430" lovService="cont.CON330.con_contract_lov" lovWidth="400"> <a:mapping> <a:map from="contract_id" to="contract_id"/> <a:map from="contract_number" to="contract_number"/> </a:mapping> </a:field> <a:field name="bp_id_vender"/> <a:field name="bp_vender_n" lovGridHeight="300" lovHeight="430" lovService="basic.hls_bp_master_v_all_lov?bp_category=VENDER" lovWidth="550"> <a:mapping> <a:map from="bp_id" to="bp_id_vender"/> <a:map from="bp_name" to="bp_vender_n"/> </a:mapping> </a:field> <a:field name="bp_id_tenant"/> <a:field name="bp_tenant_n" lovGridHeight="300" lovHeight="430" lovService="basic.hls_bp_master_v_all_lov?bp_category=TENANT" lovWidth="550"> <a:mapping> <a:map from="bp_id" to="bp_id_tenant"/> <a:map from="bp_name" to="bp_tenant_n"/> </a:mapping> </a:field> <a:field name="bp_id_agent_level1"/> <a:field name="bp_agent_n" lovGridHeight="300" lovHeight="430" lovService="basic.hls_bp_master_v_all_lov?bp_category=AGENT" lovWidth="550"> <a:mapping> <a:map from="bp_id" to="bp_id_agent_level1"/> <a:map from="bp_name" to="bp_agent_n"/> </a:mapping> </a:field> </a:fields> </a:dataSet> <a:dataSet id="con_finance_income_result_ds" autoPageSize="true" autoQuery="true" model="cont.CON330.get_finance_income_info" queryDataSet="con_finance_income_query_ds"><![CDATA[ ]]></a:dataSet> </a:dataSets> <a:screenBody> <a:screenTopToolbar> <a:screenTitle/> <a:gridButton click="query" text="HLS.QUERY"/> <a:gridButton click="reset" text="HLS.RESET"/> </a:screenTopToolbar> <a:form column="4" marginWidth="80" title="收入明细查询"> <a:comboBox name="period_name_from" bindTarget="con_finance_income_query_ds" prompt="期间从"/> <a:comboBox name="period_name_to" bindTarget="con_finance_income_query_ds" prompt="期间到"/> <a:lov name="contract_number" bindTarget="con_finance_income_query_ds" prompt="合同号"/> <a:lov name="bp_vender_n" bindTarget="con_finance_income_query_ds" prompt="供应商"/> <a:lov name="bp_agent_n" bindTarget="con_finance_income_query_ds" prompt="经销商"/> <a:lov name="bp_tenant_n" bindTarget="con_finance_income_query_ds" prompt="承租人"/> </a:form> <a:grid bindTarget="con_finance_income_result_ds" marginHeight="240" marginWidth="80" navBar="true"> <a:toolBar> <a:button click="excel" type="excel"/> <!-- <a:button id="delete_id" click="delete" type="delete"/> --> </a:toolBar> <a:columns> <a:column name="contract_number" lock="true" prompt="支付表编号" sortable="true" width="130"/> <a:column name="period_name" align="center" prompt="期间" sortable="true" width="70"/> <a:column name="accounting_date" align="center" prompt="收益确认日" renderer="Leaf.formatDate" sortable="true" width="100"/> <a:column name="finance_income" align="right" prompt="本月实现收益" renderer="Leaf.formatMoney" sortable="true" width="100"/> <a:column name="sum_finance_income" align="right" prompt="累计实现收益" renderer="Leaf.formatMoney" sortable="true" width="100"/> <a:column name="inception_of_lease" align="center" prompt="起租日" renderer="Leaf.formatDate" sortable="true"/> <a:column name="contract_status_n" align="center" prompt="合同状态" sortable="true" width="60"/> <a:column name="bp_id_tenant_n" prompt="承租人" width="200"/> <a:column name="bp_id_vender_n" prompt="供应商" width="200"/> <a:column name="bp_id_agent_level1_n" prompt="经销商" width="200"/> </a:columns> </a:grid> </a:screenBody> </a:view> </a:screen>