<?xml version="1.0" encoding="UTF-8"?>
<a:screen xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script">
    <a:view>
        <a:link id="lend_doc_get_layout_code_link_id" model="cont.CON500.con_contract_get_layout_code"
                modelaction="update"/>
        <a:link id="prj500_cdd_uploadFile_id"
                url="${/request/@context_path}/uploadFile.lview"/>
        <a:link id="lend_document_modify_link"
                url="${/request/@context_path}/modules/cont/CON556/document_lend_record_add.lview"/>
        <a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
        <script type="text/javascript"><![CDATA[

        function exit() {
            $('trans_info_send_link_winId').close();
        }

        ]]></script>
        <a:dataSets>
            <a:dataSet id="contract_doc_send_result_ds" autoQuery="true" fetchAll="true"
                       model="cont.CON706.con_contract_et_send_detail"
                       queryUrl="${/request/@context_path}/autocrud/cont.CON706.con_contract_et_send_detail/query?contract_id=${/parameter/@contract_id}">
            </a:dataSet>

        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar>
                <a:screenTitle/>
                <a:gridButton click="exit" text="HLS.EXIT"/>
            </a:screenTopToolbar>
            <a:grid id="contract_doc_send_result_grid_id" bindTarget="contract_doc_send_result_ds"
                    marginHeight="250" marginWidth="130" navBar="true" style="margin:20px">
                <a:columns>
                    <a:column name="contract_number" prompt="合同编号" width="200"/>
                    <a:column name="invoice_number" prompt="发票号码" align="center" width="200"/>
                    <a:column name="cf_item_n" prompt="现金流描述" align="center" width="200"/>
                    <a:column name="division_n" prompt="产品线" align="center" width="180"/>
                    <a:column name="machine_number" prompt="机号" align="center" width="200"/>
                    <a:column name="invoice_date" prompt="开票日期" align="center" width="180"/>
                    <a:column name="bp_name" prompt="客户名称" width="200"/>
                    <a:column name="product_name" prompt="货物名称" width="200"/>
                    <a:column name="total_amount" prompt="金额" width="200"  align="center" renderer="Leaf.formatMoney"/>
                    <a:column name="invoice_kind_n" prompt="发票种类" width="200"/>
                    <a:column name="express_status_n" prompt="状态" width="200"/>
                    <a:column name="transfer_time" renderer="Leaf.formatDate"  align="center"
                              prompt="已转交时间" width="100"/>
                    <a:column name="recipient" editor="textField_e" align="center" prompt="已签收人" width="100"/>
                    <a:column name="express_date" renderer="Leaf.formatDate"  align="center"
                              prompt="已邮寄时间" width="100"/>
                    <a:column name="express_num"  align="center" prompt="邮寄快递单号" width="100"/>
                    <a:column name="express_to"  align="center" prompt="接收人" width="100"/>
                </a:columns>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>
