csh_deposit_source.lview 5.55 KB
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Eugene Song
    $Date: 2018年8月24日14:28:51
    $Revision: 1.0
    $Purpose: 保证金管理
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" trace="true">
    <a:init-procedure>

    </a:init-procedure>

    <a:view>
        <script type="text/javascript"><![CDATA[
          function csh_deposit_return(){

              var win = $('csh_deposit_detail_winid');
              win.close();

          }

         ]]></script>

        <a:dataSets>


            <a:dataSet id="csh_deposit_form_ds" autoQuery="true" model="csh.CSH1000.csh_deposit" queryUrl="${/request/@context_path}/autocrud/csh.CSH1000.csh_deposit/query?inflow_id=${/parameter/@inflow_id}">
            </a:dataSet>

            <a:dataSet id="source_to_grid_ds" autoQuery="true" model="csh.CSH1000.csh_deposit_source_to" queryUrl="${/request/@context_path}/autocrud/csh.CSH1000.csh_deposit_source_to/query?outflow_id=${/parameter/@outflow_id}">
                <a:fields>
                    <a:field name="write_off_date" datatype="date"/>
                </a:fields>
            </a:dataSet>

            <a:dataSet id="source_from_grid_ds" autoQuery="true" model="csh.CSH1000.csh_deposit_source_from" queryUrl="${/request/@context_path}/autocrud/csh.CSH1000.csh_deposit_source_from/query?inflow_id=${/parameter/@inflow_id}">
                <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:screenTopToolbar>
                <a:screenTitle/>
                <a:gridButton click="csh_deposit_return" text="HLS.RETURN"/>
            </a:screenTopToolbar>
            <a:form column="4" marginWidth="100" title="">
                <a:textField name="contract_number" bindTarget="csh_deposit_form_ds" prompt="合同编号" readOnly="true"/>
                <a:textField name="contract_name" bindTarget="csh_deposit_form_ds" prompt="合同名称" readOnly="true"/>
                <a:numberField name="finance_amount" bindTarget="csh_deposit_form_ds" prompt="融资额" readOnly="true"/>
                <a:textField name="tenant_name" bindTarget="csh_deposit_form_ds" prompt="承租人" readOnly="true"/>
                <a:numberField name="deposit" bindTarget="csh_deposit_form_ds" prompt="发生总额" readOnly="true"/>
                <a:numberField name="deduction_amount" bindTarget="csh_deposit_form_ds" prompt="抵扣总额" readOnly="true"/>
                <a:numberField name="refund_amount" bindTarget="csh_deposit_form_ds" prompt="退款总额" readOnly="true"/>
                <a:numberField name="balance_amount" bindTarget="csh_deposit_form_ds" prompt="余额" readOnly="true"/>
            </a:form>
            <a:fieldSet title="用途">
                <a:grid id="source_to_grid" bindTarget="source_to_grid_ds" title="现金流信息" navbar="true" height="250" marginWidth="100">
                    <a:columns>
                        <a:column name="write_off_type"  prompt="核销类型" width="200"/>
Darming's avatar
Darming committed
64
<!--                        <a:column name="write_off_classification_n"  prompt="核销分类" width="100"/>-->
Spencer Chang's avatar
Spencer Chang committed
65 66 67 68 69 70 71 72 73 74 75 76 77 78
                        <a:column name="write_off_date" prompt="日期" align="center" renderer="Leaf.formatDate"/>
                        <a:column name="write_off_due_amount" align="right" prompt="金额" width="150" renderer="Leaf.formatMoney"/>
                        <a:column name="bp_name" prompt="退款/核销对象" width="250"/>
                        <a:column name="contract_number" prompt="合同号" width="150"/>
                        <a:column name="times" prompt="期项" align="center" width="80"/>
                        <a:column name="cf_item_n" align="center"  prompt="现金流项目" width="80"/>
                    </a:columns>
                </a:grid>
            </a:fieldSet>

            <a:fieldSet title="来源">
                <a:grid id="source_from_grid" bindTarget="source_from_grid_ds" title="现金流信息" navbar="true" height="250" marginWidth="100">
                    <a:columns>
                        <a:column name="write_off_type_n"  prompt="核销类型" width="100"/>
Darming's avatar
Darming committed
79
<!--                        <a:column name="write_off_classification_n"  prompt="核销分类" width="100"/>-->
Spencer Chang's avatar
Spencer Chang committed
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
                        <a:column name="write_off_date" prompt="核销日期" align="center" renderer="Leaf.formatDate"/>
                        <a:column name="write_off_due_amount" align="right" prompt="核销金额" width="150" renderer="Leaf.formatMoney"/>
                        <a:column name="contract_number" prompt="合同号" width="150"/>
                        <a:column name="times" prompt="期项" align="center" width="80"/>
                        <a:column name="cf_item_n" align="center"  prompt="现金流项目" width="80"/>
                        <a:column name="transaction_num" prompt="收款编号" width="150"/>
                        <a:column name="transaction_date" prompt="收款日期" align="center" renderer="Leaf.formatDate" />
                        <a:column name="bp_bank_account_name" prompt="汇款方户名" width="200"/>
                        <a:column name="bp_bank_account_num" prompt="汇款方账号" width="200"/>
                        <a:column name="transaction_amount" align="right" prompt="收款金额" width="150" renderer="Leaf.formatMoney"/>
                    </a:columns>
                </a:grid>
            </a:fieldSet>
        </a:screenBody>
    </a:view>
</a:screen>