lease_chance_lost_reason.lview 1.96 KB
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Mouse Chow  
    $Date: 2012-12-23 下午03:46:38  
    $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="chance_lost_ds" lookupCode="LCH_LEASE_CHANCE_LOST_REASON"/>
            <a:dataSet id="lease_chance_lost_reasn_ds" autoQuery="true" model="lch.LCH502.lch_lease_chance_lost_reasn" queryUrl="${/request/@context_path}/autocrud/lch.LCH502.lch_lease_chance_lost_reasn/query?lease_chance_id=${/parameter/@lease_chance_id}" selectable="true">
                <a:fields>
                    <a:field name="lease_chance_id" defaultValue="${/parameter/@lease_chance_id}"/>
                    <a:field name="lost_reason" displayField="code_value_name" options="chance_lost_ds" prompt="原因" returnField="lost_reason_code" valueField="code_value"/>
                    <a:field name="lost_reason_desc" prompt="原因描述"/>
                </a:fields>
            </a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:grid id="lease_chance_lost_reasn_grid" bindTarget="lease_chance_lost_reasn_ds" height="400" navBar="true" width="800">
                <a:toolBar>
                    <a:button type="add"/>
                    <a:button type="save"/>
                    <a:button type="clear"/>
                    <a:button type="delete"/>
                </a:toolBar>
                <a:columns>
                    <a:column name="lost_reason" editor="reason_lov" width="200"/>
                    <a:column name="lost_reason_desc" editor="reason_tf" width="500"/>
                </a:columns>
                <a:editors>
                    <a:comboBox id="reason_lov"/>
                    <a:textField id="reason_tf"/>
                </a:editors>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>