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

<!--
    $Author: chenlingfeng7543
$Date: 2018/9/28 14:20
$Revision: 1.0 
$Purpose: 
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" trace="true">
    <a:init-procedure/>
    <a:view>

        <script type="text/javascript"></script>
        <a:dataSets>
            <a:dataSet id="con302n_con_cashflow_write_off_query_ds" autoCreate="true">
                <a:fields>
                    <a:field name="cashflow_id" defaultValue="${/parameter/@cashflow_id}"/>
                </a:fields>
            </a:dataSet>
            <a:dataSet id="con302n_con_cashflow_write_off_ds" queryDataSet="con302n_con_cashflow_write_off_query_ds" model="cont.CON302N.con_cashflow_write_off" autoQuery="true">
                <a:fields>
                    <a:field name="write_off_date" datatype="date"/>
                    <a:field name="transaction_date" datatype="date"/>
                </a:fields>
            </a:dataSet>

        </a:dataSets>
        <a:screenBody>
            <a:grid marginHeight="300" marginWidth="30" bindtarget="con302n_con_cashflow_write_off_ds" id="con302n_con_cashflow_write_off_grid">
                <a:columns>
                    <a:column name="write_off_type_desc" prompt="核销类型" width="120"/>
<!--                    <a:column name="write_off_classification_desc" prompt="核销分类" width="120"/>-->
                    <a:column name="journal_date" prompt="核销日期" renderer="Leaf.formatDate" width="120"/>
                    <a:column name="write_off_due_amount" prompt="核销金额" renderer="Leaf.formatMoney" width="120"/>
                    <a:column name="transaction_num" prompt="收款编号" width="120"/>
                    <a:column name="transaction_type" prompt="收款类型" align="center" width="120"/>
                    <a:column name="transaction_date" prompt="收款日期" renderer="Leaf.formatDate" width="120"/>
                    <a:column name="bp_bank_account_name" prompt="汇款方户名" width="120"/>
                    <a:column name="bp_bank_account_num" prompt="汇款方账号" width="120"/>
                    <a:column name="transaction_amount" prompt="收款金额" renderer="Leaf.formatMoney" width="120"/>
                    <a:column name="created_by_n" prompt="制单人" width="120"/>
                </a:columns>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>