<?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_pos_manage_query() { $('csh_pos_manage_grid_ds').query(); } function csh_pos_manage_reset(){ $('csh_pos_manage_form_ds').reset(); } function csh_pos_manage_export() { $('source_to_grid')._export(null,'POS机管理明细'); } ]]></script> <a:dataSets> <a:dataSet id="csh_pos_manage_form_ds"> <a:fields> <a:field name="__async__" defaultValue="Y" prompt="异步导出"/> </a:fields> </a:dataSet> <a:dataSet id="csh_pos_manage_grid_ds" model="csh.CSH1020.csh_pos_manage_detail" queryDataSet="csh_pos_manage_form_ds" autoQuery="false" selectable="true" selectionModel="single"> </a:dataSet> </a:dataSets> <a:screenBody> <a:screenTopToolbar> <a:screenTitle/> <a:gridButton click="csh_pos_manage_query" text="查询"/> <a:gridButton click="csh_pos_manage_reset" text="重置"/> <a:gridButton click="csh_pos_manage_export" text="导出"/> </a:screenTopToolbar> <a:form column="4" marginWidth="100" title="查询条件"> <a:datePicker name="transaction_date_from" bindTarget="csh_pos_manage_form_ds" prompt="交易日期从"/> <a:datePicker name="transaction_date_to" bindTarget="csh_p,了、os_manage_form_ds" prompt="交易日期到" /> <a:textField name="transaction_num" bindTarget="csh_pos_manage_form_ds" prompt="现金事务编码" /> <a:textField name="contract_number" bindTarget="csh_pos_manage_form_ds" prompt="会员号"/> <a:textField name="bp_bank_account_num" bindTarget="csh_pos_manage_form_ds" prompt="对方银行账号"/> <a:textField name="terminal_number" bindTarget="csh_pos_manage_form_ds" prompt="POS机编号"/> <a:numberField name="credit_card_amount_from" bindTarget="csh_pos_manage_form_ds" prompt="刷卡金额从"/> <a:numberField name="credit_card_amount_to" bindTarget="csh_pos_manage_form_ds" prompt="刷卡金额到"/> <a:textField name="administrant" bindTarget="csh_pos_manage_form_ds" prompt="所属人" /> <a:textField name="extra_nam" bindTarget="csh_pos_manage_form_ds" prompt="代理商简称"/> </a:form> <a:grid id="source_to_grid" bindTarget="csh_pos_manage_grid_ds" navBar="true" height="400" marginWidth="100"> <a:columns> <a:column name="import_date" align="center" prompt="导入日期" width="130" renderer="Leaf.formatDate"/> <a:column name="transaction_date" align="center" prompt="交易日期" width="130" renderer="Leaf.formatDate"/> <a:column name="transaction_num" align="center" prompt="现金事务编码" width="100"/> <!-- <a:column name="transaction_type_n" align="center" prompt="现金事务类型" width="100"/>--> <a:column name="credit_card_amount" align="center" prompt="刷卡金额" width="100" renderer="Leaf.formatMoney"/> <a:column name="handling_fee_amount" align="center" prompt="手续费" width="100" renderer="Leaf.formatMoney"/> <a:column name="transaction_amount" align="center" prompt="到账金额" width="100" renderer="Leaf.formatMoney"/> <a:column name="contract_number" align="center" prompt="会员号" width="100"/> <a:column name="bp_bank_account_num" align="center" prompt="对方银行账号" width="150"/> <a:column name="terminal_number" align="center" prompt="POS机编号" width="100"/> <a:column name="administrant" align="center" prompt="所属人" width="150"/> <a:column name="extra_nam" align="center" prompt="代理商" width="150"/> </a:columns> </a:grid> </a:screenBody> </a:view> </a:screen>