<?xml version="1.0" encoding="UTF-8"?>
<!--
	&author:zhangyu
	$date:2015/12/17
	$purpose:集团资金计划项目列表维护
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" trace="true">
    <a:init-procedure/>
    <a:view>
        <script type="text/javascript"><![CDATA[
        	function sdic1010_quit(){
        	    history.go(-1);
        	}
        	
        	function sdic1010_query(){
        	    $('sdic1010_result_ds').query();
        	}
		]]></script>
        <a:dataSets>
            <a:dataSet id="sdic1010_result_ds" autoPageSize="true" autoQuery="true" model="sdic.SDIC1010.sdic_fin_plan_item_template" selectable="true">
                <a:fields>
                    <a:field name="item_code" defaultValue="${/parameter/@item_code}" required="true"/>
                    <a:field name="item_description" defaultValue="${/parameter/@item_description}" required="true"/>
                    <a:field name="order_seq" required="true"/>
                    <a:field name="enabled_flag" checkedValue="Y" defaultValue="Y" uncheckedValue="N"/>
                </a:fields>
            </a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar>
                <a:screenTitle/>
                <a:gridButton click="sdic1010_quit" text="退出"/>
                <a:gridButton click="sdic1010_query" text="查询"/>
            </a:screenTopToolbar>
            <a:form/>
            <a:grid id="sdic1010_result_grid_id" bindTarget="sdic1010_result_ds" marginHeight="200" marginWidth="100" navBar="true">
                <a:toolBar>
                    <a:button type="add"/>
                    <a:button type="save"/>
                    <a:button type="delete"/>
                </a:toolBar>
                <a:columns>
                    <a:column name="item_code" editor="editor_tf" prompt="项目代码" width="100"/>
                    <a:column name="item_description" editor="editor_tf" prompt="项目描述" width="500"/>
                    <a:column name="order_seq" editor="editor_tf" prompt="序号" width="100"/>
                    <a:column name="enabled_flag" editor="editor_cb" prompt="启用" width="100"/>
                </a:columns>
                <a:editors>
                    <a:textField id="editor_tf"/>
                    <a:checkBox id="editor_cb"/>
                </a:editors>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>
