sdic_contract_calc_interst.lview 2.73 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: WANGWEI  
    $Date: 2016-3-3 上午11:20:31  
    $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 sdic130_query(){
        	     $('sdic_contract_calc_interest_ds').query();
        	 }
        	 
        	 function sdic130_export(){
        	     $('sdic_contract_calc_interest_ds_id')._export();
        	 }
		]]></script>
        <a:dataSets>
            <a:dataSet id="for_query_ds" autoCreate="true">
                <a:fields>
                    <a:field name="contract_number"/>
                    <a:field name="contract_name"/>
                    <a:field name="tenant_name"/>
                </a:fields>
            </a:dataSet>
            <a:dataSet id="sdic_contract_calc_interest_ds" autoPageSize="true" autoQuery="true" model="sdic.SDIC140.sdic_contract_calc_interest" queryDataSet="for_query_ds"><![CDATA[
            ]]></a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar>
                <a:screenTitle/>
                <a:gridButton click="sdic130_query" text="查询"/>
                <a:gridButton click="sdic130_export" text="导出"/>
            </a:screenTopToolbar>
            <a:form column="4" marginWidth="50" title="查询条件">
                <a:textField name="contract_number" bindTarget="for_query_ds" prompt="合同序号"/>
                <a:textField name="contract_name" bindTarget="for_query_ds" prompt="合同名称"/>
                <a:textField name="tenant_name" bindTarget="for_query_ds" prompt="承租人名称" width="380"/>
            </a:form>
            <a:grid id="sdic_contract_calc_interest_ds_id" bindTarget="sdic_contract_calc_interest_ds" marginHeight="200" marginWidth="50" navBar="true">
                <a:columns>
                    <a:column name="contract_number" align="center" prompt="合同序号" width="210"/>
                    <a:column name="contract_name" prompt="合同名称" width="210"/>
                    <a:column name="tenant_name" prompt="承租人名称" width="210"/>
                    <a:column name="due_date" align="center" prompt="计算日" renderer="Leaf.formatDate" width="100"/>
                    <a:column name="times" align="center" prompt="期数"/>
                    <a:column name="calc_interest" align="right" prompt="实际利息收入" renderer="Leaf.formatMoney" width="140"/>
                    <a:column name="interest_balance" align="right" prompt="租赁投资净额余额" renderer="Leaf.formatMoney" width="140"/>
                </a:columns>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>