<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: wujun  
    $Date: 2016年11月11日10:10:10
    $Revision: 1.0  
    $Purpose: 担保人信息查询明细
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application">
    <a:init-procedure/>
    <a:view>
        <script type="text/javascript"><![CDATA[
            function hn5020_customer_bondsman_detail_close() {
                $('${/parameter/@winid}').close();
            }
            
            function hn5020_customer_bondsman_detail_export() {
                $('hn5020_hls_bp_master_result_bondsman_grid_id')._export();
            }
        ]]></script>
        <a:dataSets>
            <a:dataSet id="hn5020_prj_project_bondsman_ds" autoCreate="true">
                <a:fields>
                    <a:field name="project_id" defaultValue="${/parameter/@project_id}"/>
                </a:fields>
            </a:dataSet>
            <a:dataSet id="hn5020_hls_bp_master_bondsman_result_ds" autoPageSize="true" autoQuery="true" model="hn.HN5020.hn_customer_bondsman_detail" queryDataSet="hn5020_prj_project_bondsman_ds" selectable="true"/>
        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar>
                <a:screenTitle/>
                <a:gridButton click="hn5020_customer_bondsman_detail_close" text="关闭"/>
                <a:gridButton click="hn5020_customer_bondsman_detail_export" text="导出"/>
            </a:screenTopToolbar>
            <a:grid id="hn5020_hls_bp_master_result_bondsman_grid_id" bindTarget="hn5020_hls_bp_master_bondsman_result_ds" marginHeight="200" marginWidth="30" navBar="true">
                <a:columns>
                    <a:column name="bp_name" prompt="担保方" width="270"/>
                    <a:column name="bp_role" align="center" prompt="角色" width="80"/>
                    <a:column name="contact_person_name" align="center" prompt="联系人" width="80"/>
                    <a:column name="cell_phone" align="center" prompt="联系人电话" width="100"/>
                    <a:column name="e_mail" prompt="E-mail" width="200"/>
                    <a:column name="financial_manager" align="center" prompt="财务经理" width="100"/>
                    <a:column name="financial_manager_cell_phone" align="center" prompt="财务经理联系电话" width="100"/>
                    <a:column name="mail_address" prompt="邮寄地址" width="260"/>
                    <a:column name="zipcode" align="center" prompt="邮编" width="100"/>
                </a:columns>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>