<?xml version="1.0" encoding="UTF-8"?>

<!--
    $Author: huangtianyang
    $Date: 2018/7/3 下午6:09
    $Revision: 1.0
    授信额度明细
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application">
    <a:init-procedure/>
    <a:view template="default" package="leaf.ui.std">
        <div></div>
        <style>
            html, body {
                padding: 0;
                width: 870px;
                height: 355px;
            }
        </style>
        <script><![CDATA[
        function click1(data) {
            alert(data);
        }

        function click2(data) {
            alert(data);
        }

        function click3(data) {
            alert(data);
        }

        ]]></script>
        <a:dataSets>
            <a:dataSet id="widget511_leg_contract_result_ds" pageSize="2" autoPageSize="true" autoQuery="true"
                       model="leg.LEG501.leg_contract_query">
                <a:fields>
                </a:fields>
            </a:dataSet>
        </a:dataSets>
        <a:hapGrid id="widget511_leg_contract_result_grid" title="授信额度明细" bindTarget="widget511_leg_contract_result_ds"
                   titleimg="/images/lon/contract.png">
            <a:toolBar>
                <!--<a:button text="按钮测试" click="click1"/>-->
                <!--<a:button icon="/images/home_page/next.png" click="click2"/>-->
                <!--<a:button type="search" click="click3" width="150px" placeholder="请输入合同编号"/>-->
            </a:toolBar>
            <a:columns>
                <a:column name="contract_number" prompt="分类" width="150"/>
                <a:column name="contract_name" prompt="时间" width="200"/>
                <a:column name="overdue_max_days" prompt="摘要"/>
                <a:column name="overdue_amount" prompt="对象"/>
                <a:column name="unreceived_fine_amount" prompt="币种"/>
                <a:column name="contract_status_desc" prompt="金额"/>

            </a:columns>
        </a:hapGrid>
        <a:screenBody/>
    </a:view>
</a:screen>