<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: zhangyu  
    $Date: 2015-12-28 上午10:32:11  
    $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"><![CDATA[
		]]></script>
        <a:dataSets>
            <a:dataSet id="sdic_fin_plan_class_aut_query_ds" autoCreate="true">
                <a:fields>
                    <a:field name="class_id" defaultValue="${/parameter/@class_id}"/>
                    <a:field name="class_type" defaultValue="${/parameter/@class_type}"/>
                </a:fields>
            </a:dataSet>
            <a:dataSet id="sdic_fin_plan_class_aut_result_ds" autoPageSize="true" autoQuery="true" model="sdic.sdic_fin_plan_class_aut" queryDataSet="sdic_fin_plan_class_aut_query_ds" selectable="true">
                <a:fields>
                    <a:field name="class_id" defaultValue="${/parameter/@class_id}"/>
                    <a:field name="class_type" defaultValue="${/parameter/@class_type}"/>
                    <a:field name="item_code" defaultValue="${/parameter/@item_code}"/>
                    <a:field name="item_description" defaultValue="${/parameter/@item_description}"/>
                    <a:field name="user_desc" autoComplete="true" lovGridHeight="350" lovHeight="550" lovService="sdic.sdic_sys_user_lov" lovWidth="550" prompt="AUT_TRX_USER_AUTHORIZE.USER_ID" required="true" title="AUT103.USER_ID">
                        <a:mapping>
                            <a:map from="user_desc" to="user_desc"/>
                            <a:map from="unit_name" to="unit_name"/>
                            <a:map from="user_id" to="owner_id"/>
                        </a:mapping>
                    </a:field>
                    <a:field name="owner_id"/>
                </a:fields>
            </a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar>
                <a:screenTitle/>
            </a:screenTopToolbar>
            <a:form/>
            <a:grid id="sdic_fin_plan_class_aut_grid_id" bindTarget="sdic_fin_plan_class_aut_result_ds" height="300" navBar="true" width="800">
                <a:toolBar>
                    <a:button type="add"/>
                    <a:button type="save"/>
                    <a:button type="delete"/>
                </a:toolBar>
                <a:columns>
                    <a:column name="item_code" prompt="分类代码" width="100"/>
                    <a:column name="item_description" prompt="分类名称" width="350"/>
                    <a:column name="user_desc" editor="aut_editor_lov" prompt="用户名称" width="100"/>
                    <a:column name="unit_name" prompt="所属部门" width="100"/>
                </a:columns>
                <a:editors>
                    <a:lov id="aut_editor_lov"/>
                </a:editors>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>
