<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: gaoyang  
    $Date: 2013-7-5 下午01:15:52  
    $Revision: 1.0  
    $Purpose: 
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" trace="true">
    <a:view>
        <script type="text/javascript"><![CDATA[
        function bpQueryScreen_query(){
            $('one_car_ds').query();
        }
        
        function bpQueryScreen_reset(){
             $('para_con_bpQueryDs').reset();
        }
            
            
        ]]></script>
        <a:dataSets>
            <a:dataSet id="para_con_bpQueryDs">
                <a:fields>
                    <a:field name="fld_make"/>
                    <a:field name="fld_model"/>
                    <a:field name="fld_trim"/>
                    <a:field name="fld_ccsj"/>
                    <a:field name="fld_price"/>
                    <a:field name="create_date"/>
                </a:fields>
            </a:dataSet>
            <a:dataSet id="one_car_ds" autoPageSize="true" autoQuery="true" queryDataSet="para_con_bpQueryDs" queryUrl="${/request/@context_path}/autocrud/one_car.CAR100.one_car_update/query">
                <!-- <a:events>
            		<a:event name="load" handler="" />
            	</a:events> --><![CDATA[
                
                
                
                
            	
            ]]></a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar>
                <a:screenTitle/>
                <a:gridButton click="bpQueryScreen_query" text="HLS.QUERY"/>
                <a:gridButton click="bpQueryScreen_reset" text="HLS.RESET"/>
            </a:screenTopToolbar>
            <a:form column="4" labelWidth="120" marginWidth="50" title="HLS.QUERY_TITLE">
                <a:textField name="fld_make" bindTarget="para_con_bpQueryDs" prompt="厂家名称"/>
                <a:textField name="fld_model" bindTarget="para_con_bpQueryDs" prompt="品牌名称"/>
                <a:textField name="fld_trim" bindTarget="para_con_bpQueryDs" prompt="款式名称"/>
                <a:textField name="fld_ccsj" bindTarget="para_con_bpQueryDs" prompt="出厂时间"/>
                <a:numberField name="fld_price" bindTarget="para_con_bpQueryDs" prompt="厂商指导价(万)"/>
                <a:datePicker name="create_date" bindTarget="para_con_bpQueryDs" prompt="同步时间"/>
            </a:form>
            <a:grid id="chanceMaintainDs_grid" bindTarget="one_car_ds" marginHeight="200" marginWidth="30" navBar="true">
                <!-- <a:toolBar>
                    <a:button type="excel"/>
                </a:toolBar> -->
                <a:columns>
                    <a:column name="fld_make" prompt="厂家名称" width="120"/>
                    <a:column name="fld_model" prompt="品牌名称" width="120"/>
                    <a:column name="fld_trim" prompt="款式名称" width="250"/>
                    <a:column name="fld_ccsj" align="center" prompt="出厂时间" width="70"/>
                    <a:column name="fld_price" align="center" prompt="厂商指导价(万)" renderer="Leaf.formatMoney" width="120"/>
                    <a:column name="create_date" align="center" prompt="同步时间" width="120"/>
                </a:columns>
            </a:grid>
        </a:screenBody>
    </a:view>
</a:screen>