con_contract_reschedule_update.lview 3.71 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 64
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: LR  
    $Date: 2013-8-15 下午01:35:36  
    $Revision: 1.0  
    $Purpose: 
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true">
    <a:init-procedure><![CDATA[
    ]]></a:init-procedure>
    <a:view>
        <a:link id="con712_contract_reschedule_link" url="${/request/@context_path}/modules/cont/CON711/con_contract_reschedule.lview"/>
        <script type="text/javascript"><![CDATA[
            function con712_con_contract_update_close() {
                if (Leaf.isEmpty(${/parameter/@create_flag})) {
                    $('con712_contract_reschedule_update_window').close();
                } else {
                    Leaf.go($('con712_contract_reschedule_link').getUrl());
                }
            }
            
            function con712_con_contract_update_submit() {}
        ]]></script>
        <a:dataSets>
            <a:dataSet id="con712_con_contract_update_query_ds">
                <a:fields>
                    <a:field name="batch_id" defaultValue="${/parameter/@batch_id}" required="true"/>
                </a:fields>
            </a:dataSet>
            <a:dataSet id="con712_con_contract_update_ds" autoQuery="true" fetchAll="true" model="cont.CON711.con_contract_change_req" queryDataSet="con712_con_contract_update_query_ds">
                <a:fields>
                    <a:field name="reschedule_fee" required="true"/>
                </a:fields>
            </a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar>
                <a:gridButton click="con712_con_contract_update_close" text="HLS.RETURN"/>
                <a:gridButton bind="con712_con_contract_update_grid" type="save"/>
                <a:gridButton click="con712_con_contract_update_submit" text="HLS.SUBMIT"/>
            </a:screenTopToolbar>
            <a:grid id="con712_con_contract_update_grid" bindTarget="con712_con_contract_update_ds" marginHeight="100" marginWidth="30" navBar="false">
                <a:columns>
                    <a:column name="batch_id" prompt="CON711.BATCH_ID" width="50"/>
                    <a:column name="change_req_number" prompt="CON711.CHANGE_REQ_NUMBER" width="130"/>
                    <a:column name="contract_number" prompt="HLS.CONTRACT_NUMBER" width="120"/>
                    <a:column name="contract_name" prompt="HLS.CONTRACT_NAME" width="200"/>
                    <a:column name="cashflow_item_desc" prompt="HLS.CF_ITEM_DESC" width="100"/>
                    <a:column name="reschedule_fee" align="right" editor="con712_con_contract_update_grid_nf" prompt="HLS.AMOUNT" renderer="Leaf.formatNumber" width="100"/>
                    <a:column name="cf_direction" prompt="CON711.CF_DIRECTION"/>
                    <a:column name="reschedule_start_times" align="right" prompt="CON711.RESCHEDULE_START_TIMES" width="60"/>
                    <a:column name="reschedule_start_date" prompt="CON711.RESCHEDULE_START_DATE" renderer="Leaf.formatDate" width="90"/>
                    <a:column name="reschedule_new_date" prompt="CON711.RESCHEDULE_NEW_DATE" renderer="Leaf.formatDate" width="90"/>
                    <a:column name="reschedule_last_time" prompt="CON711.RESCHEDULE_LAST_TIME" width="60"/>
                    <a:column name="reschedule_total_times" align="right" prompt="CON711.RESCHEDULE_TOTAL_TIMES" width="60"/>
                    <a:column name="reschedule_days" align="right" prompt="CON711.RESCHEDULE_DAYS" width="60"/>
                </a:columns>
                <a:editors>
                    <a:numberField id="con712_con_contract_update_grid_nf" allowNegative="false"/>
                </a:editors>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>