<?xml version="1.0" encoding="UTF-8"?> <a:screen xmlns:a="http://www.leaf-framework.org/application" trace="true"> <a:view> <script type="text/javascript"><![CDATA[ function csh_deposit_query() { $('source_to_grid_ds').query(); $('csh_deposit_form_ds_sum').query(); } function csh_deposit_reset(){ $('csh_deposit_form_ds').reset(); } function csh_deposit_export() { $('source_to_grid')._export(null,'保证金池明细'); } ]]></script> <a:dataSets> <a:dataSet id="csh_deposit_form_ds" autoQuery="true" > </a:dataSet> <a:dataSet id="csh_deposit_form_ds_sum" autoQuery="true" model="csh.CSH1005.csh_deposit_manager_sum" queryDataSet="csh_deposit_form_ds" > </a:dataSet> <a:dataSet id="source_to_grid_ds" autoQuery="true" model="csh.CSH1005.csh_deposit_manager_query" queryDataSet="csh_deposit_form_ds" selectable="true" selectionModel="single"> </a:dataSet> </a:dataSets> <a:screenBody> <a:screenTopToolbar> <a:screenTitle/> <a:gridButton click="csh_deposit_query" text="查询"/> <a:gridButton click="csh_deposit_reset" text="重置"/> <a:gridButton click="csh_deposit_export" text="导出"/> </a:screenTopToolbar> <a:form column="4" marginWidth="100" title="查询条件"> <a:textField name="agent_code" bindTarget="csh_deposit_form_ds" prompt="代理商编码" /> <a:textField name="agent_name" bindTarget="csh_deposit_form_ds" prompt="代理商名称" /> <a:datePicker name="write_off_date" bindTarget="csh_deposit_form_ds" prompt="基准日期" /> <a:numberField name="deposit_balance_amount_sum" bindTarget="csh_deposit_form_ds_sum" prompt="保证金池余额总和" editable="false" renderer="Leaf.formatMoney"/> </a:form> <a:grid id="source_to_grid" bindTarget="source_to_grid_ds" navBar="true" height="300" marginWidth="100"> <a:columns> <a:column name="agent_code" prompt="代理商编码" width="200"/> <a:column name="agent_name" prompt="代理商名称" width="200"/> <a:column name="deposit_distinguish" prompt="保证金区分" align="center" /> <a:column name="deposit_received_amount" align="right" prompt="保证金收款金额" width="170" renderer="Leaf.formatMoney"/> <a:column name="deposit_deduction_amount" align="right" prompt="抵扣租金金额" width="170" renderer="Leaf.formatMoney"/> <a:column name="deposit_refund_amount" align="right" prompt="退款金额" width="170" renderer="Leaf.formatMoney"/> <a:column name="deposit_balance_amount" align="right" prompt="保证金池余额" width="170" renderer="Leaf.formatMoney"/> </a:columns> </a:grid> </a:screenBody> </a:view> </a:screen>