ccb_ebank_withhold_detail.lview 2.42 KB
<?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_withhold_upload_link"
                url="${/request/@context_path}/modules/ccb/CCB600/ccb_ebank_withhold_import_upload.lview"/>
        <script type="text/javascript"><![CDATA[

        function upload_withdold_detail() {
            new Leaf.Window({
                id: 'upload_withhold_window_winid',
                url: $('import_withhold_upload_link').getUrl(),
                params: {
                    batch_id:'${/parameter/@batch_id}',
                    winid: 'upload_withhold_window_winid'
                },
                title: '导入',
                width: 420,
                height: 300
            });
        }

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

        ]]></script>
        <a:dataSets>
            <a:dataSet id="hls_ccb_withdhold_grid_detail_ds" autoQuery="true" fetchAll="true" model="ccb.CCB600.hls_ebank_withhold_detail" pageSize="15"
                       queryUrl="${/request/@context_path}/autocrud/ccb.CCB600.hls_ebank_withhold_detail/query?batch_id=${/parameter/@batch_id}"
                       selectable="true">
            </a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar height="29">
                <a:gridButton click="upload_withdold_detail" text="导入"/>
                <a:gridButton click="return_withhold_detail" text="返回"/>
            </a:screenTopToolbar>
            <a:grid id="hls_ccb_withhold_batch_detail_grid" bindTarget="hls_ccb_withdhold_grid_detail_ds" height="500" width="850"
                    navBar="true">
                <a:toolBar>
                    <a:button type="excel" text="导出"/>
                </a:toolBar>
                <a:columns>
                    <a:column name="contract_number" align="left" prompt="合同编号" width="100"/>
                    <a:column name="actual_amount" align="right" prompt="扣款金额" renderer="Leaf.formatMoney"
                              width="150"/>
                </a:columns>
                <a:editors>
                    <a:numberField id="nf_grid"/>
                </a:editors>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>