<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: qianming  
    $Date: 2015-7-27 上午11:33:32  
    $Revision: 1.0  
    $Purpose: 
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application">
    <a:init-procedure/>
    <a:view>
        <script type="text/javascript"><![CDATA[
		]]></script>
        <a:dataSets>
            <a:dataSet id="bgfl_csh_payment_authority_result_ds" autoQuery="true" fetchAll="true" model="hls.HLS005.bgfl_csh_payment_authority" queryUrl="${/request/@context_path}/autocrud/hls.HLS005.bgfl_csh_payment_authority/query?cf_item=${/parameter/@cf_item}" selectable="true">
                <a:fields>
                    <a:field name="auth_id"/>
                    <a:field name="cf_item" defaultValue="${/parameter/@cf_item}"/>
                    <a:field name="description" defaultValue="${/parameter/@description}"/>
                    <a:field name="unit_id"/>
                    <a:field name="unit_name" lovGridHeight="300" lovHeight="440" lovLabelWidth="110" lovService="hls.HLS005.exp_org_unit_v" lovWidth="550">
                        <a:mapping>
                            <a:map from="unit_id" to="unit_id"/>
                            <a:map from="unit_name" to="unit_name"/>
                        </a:mapping>
                    </a:field>
                    <a:field name="position_id"/>
                    <a:field name="position_name" lovGridHeight="300" lovHeight="455" lovLabelWidth="110" lovService="hls.HLS005.exp_org_position_vl" lovWidth="550">
                        <a:mapping>
                            <a:map from="position_id" to="position_id"/>
                            <a:map from="description" to="position_name"/>
                        </a:mapping>
                    </a:field>
                    <a:field name="user_id"/>
                    <a:field name="user_name" lovGridHeight="300" lovHeight="440" lovLabelWidth="110" lovService="hls.HLS005.sys_user" lovWidth="550">
                        <a:mapping>
                            <a:map from="user_id" to="user_id"/>
                            <a:map from="description" to="user_name"/>
                        </a:mapping>
                    </a:field>
                    <a:field name="enabled_flag" checkedValue="Y" defaultValue="Y" uncheckedValue="N"/>
                </a:fields>
            </a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar>
                <a:gridButton bind="grid_id" type="add"/>
                <a:gridButton bind="grid_id" type="clear"/>
                <a:gridButton bind="grid_id" type="save"/>
            </a:screenTopToolbar>
            <a:grid id="grid_id" bindTarget="bgfl_csh_payment_authority_result_ds" height="320" navBar="true" width="830">
                <a:columns>
                    <a:column name="cf_item" align="center" lock="true" prompt="现金流项目编号" width="120"/>
                    <a:column name="description" lock="true" prompt="现金流项目描述" width="150"/>
                    <a:column name="unit_name" editor="bgfl_csh_payment_authority_lov_id" prompt="分配部门" width="140"/>
                    <a:column name="position_name" editor="bgfl_csh_payment_authority_lov_id" prompt="分配岗位" width="120"/>
                    <a:column name="user_name" editor="bgfl_csh_payment_authority_lov_id" prompt="分配用户" width="120"/>
                    <a:column name="enabled_flag" align="center" editor="bgfl_csh_payment_authority_check_id" prompt="是否启用" width="80"/>
                </a:columns>
                <a:editors>
                    <a:lov id="bgfl_csh_payment_authority_lov_id"/>
                    <a:checkBox id="bgfl_csh_payment_authority_check_id"/>
                </a:editors>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>
