ccb_ebank_detail_query.lview 4.51 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Eugene Song $
    $Date: 2018年11月2日10:19:17 $
    $Revision: 1.1 $
    $Purpose: 网银代扣管理
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application">
    <a:view>

        <a:link id="import_upload_link"
                url="${/request/@context_path}/modules/ccb/CCB600/ccb_ebank_import_upload.lview"/>
        <script type="text/javascript"><![CDATA[

        function upload_batch_detail() {
            new Leaf.Window({
                id: 'upload_window_winid',
                url: $('import_upload_link').getUrl(),
                params: {
                    hd_id: '${/parameter/@hd_id}',
                    winid: 'upload_window_winid'
                },
                title: '导入',
                width: 420,
                height: 300
            });
        }

        function return_batch_detail() {
            $('${/parameter/@winid}').close();
        }

        function query_batch_detail() {
            $('hls_ccb_grid_detail_ds').query();
        }

        ]]></script>
        <a:dataSets>
            <a:dataSet id="ebank_status_combobox_ds2" lookupCode="CCB600_EBANK_DETAIL_STATUS"/>
            <a:dataSet id="hls_ccb_batch_query_ds2">
                <a:fields>
                    <a:field name="status_desc" displayField="code_value_name" options="ebank_status_combobox_ds2"
                             returnField="status" valueField="code_value"/>
                </a:fields>
            </a:dataSet>
            <a:dataSet id="hls_ccb_grid_detail_ds" autoQuery="true" fetchAll="true"
                       model="ccb.CCB600.hls_ebank_batch_group" pageSize="15"
                       queryDataSet="hls_ccb_batch_query_ds2"
Darming's avatar
Darming committed
49
                       queryUrl="${/request/@context_path}/autocrud/ccb.CCB600.hls_ebank_batch_group/query?batch_id=${/parameter/@batch_id}"
Spencer Chang's avatar
Spencer Chang committed
50 51 52 53 54 55 56 57 58 59 60 61 62
                       selectable="true">
                <a:fields>
                    <a:field name="res_msg" readOnly="true"/>
                </a:fields>
            </a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar height="29">
                <!--<a:gridButton click="upload_batch_detail" text="导入"/>-->
                <a:gridButton click="query_batch_detail" text="查询"/>
                <a:gridButton click="return_batch_detail" text="返回"/>
            </a:screenTopToolbar>
            <a:form column="3">
Darming's avatar
Darming committed
63
<!--                <a:textField name="contract_number" bindTarget="hls_ccb_batch_query_ds2" prompt="合同编号"/>-->
Spencer Chang's avatar
Spencer Chang committed
64 65 66 67 68 69 70 71 72
                <a:textField name="bp_name" bindTarget="hls_ccb_batch_query_ds2" prompt="客户名称"/>
                <a:comboBox name="status_desc" bindTarget="hls_ccb_batch_query_ds2" prompt="返回状态"/>
            </a:form>
            <a:grid id="hls_ccb_batch_detail_grid" bindTarget="hls_ccb_grid_detail_ds" height="500" width="1000"
                    navBar="true">
                <a:toolBar>
                    <a:button type="excel" text="导出"/>
                </a:toolBar>
                <a:columns>
Darming's avatar
Darming committed
73 74 75
<!--                    <a:column name="contract_number" align="left" prompt="合同编号" width="100"/>-->
                    <a:column name="bp_name" align="left" prompt="客户名称" width="120"/>
<!--                    <a:column name="bp_agent" align="left" prompt="代理商名称" width="180"/>-->
Spencer Chang's avatar
Spencer Chang committed
76 77 78 79 80 81 82
                    <a:column name="ebank_account_num" align="center" prompt="银行账号" width="180"/>
                    <a:column name="ebank_account_name" align="center" prompt="银行账号名" width="130"/>
                    <a:column name="apply_amount" align="right" prompt="应收金额" renderer="Leaf.formatMoney" width="100"/>
                    <a:column name="actual_amount" align="right" prompt="扣款金额" renderer="Leaf.formatMoney"
                              width="100"/>
                    <a:column name="real_amount" align="right" prompt="实扣金额" renderer="Leaf.formatMoney" width="100"/>
                    <a:column name="status_desc" align="left" prompt="返回状态" width="80"/>
Darming's avatar
Darming committed
83
<!--                    <a:column name="receive_date_desc" align="left" prompt="返回日期" width="80"/>-->
Spencer Chang's avatar
Spencer Chang committed
84 85 86 87 88 89 90 91 92 93
                    <a:column name="res_msg" align="left" prompt="返回描述" editor="ta_grid" width="150"/>
                </a:columns>
                <a:editors>
                    <a:numberField id="nf_grid"/>
                    <a:textArea id="ta_grid"/>
                </a:editors>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>