csh_pos_manage_detail.lview 4.22 KB
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
<?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>