<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: zhangxing5129  
    $Date: 2014-1-2 下午02:15:59  
    $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 hls_fin_calc_config_attribute_close() {
    		    if ($('hls_fin_calc_config_attribute_ds').isModified()) {
    		        Leaf.showMessage('${l:HLS.PROMPT}', '${l:HLS050.DATA_SAVE}');
    		        return;
    		    } else {
    		        $('hls_fin_calc_config_attribute_id').close();
    		    }
    		}
    		
    		function hls_fin_calc_config_attribute_save(nextsave) {
    		    $('hls_fin_calc_config_attribute_ds').submit();
    		}
		]]></script>
        <a:dataSets>
            <a:dataSet id="hls050_calc_config_attribute_YES_NO" lookupCode="YES_NO"/>
            <a:dataSet id="hls_fin_calc_config_attribute_ds" autoQuery="true" model="hls.HLS050.hls_fin_calc_config" queryUrl="${/request/@context_path}/autocrud/hls.HLS050.hls_fin_calc_config/query?config_id=${/parameter/@config_id}&amp;layout_area_seq=${/parameter/@layout_area_seq}&amp;price_list=${/parameter/@price_list}">
                <a:fields>
                    <a:field name="ref_v02" lovHeight="320" lovUrl="${/request/@context_path}/modules/hls/HLS050/hls_fin_calc_config_lov_search_sql.lview" lovWidth="600">
                        <a:mapping>
                            <a:map from="sql_text" to="ref_v02"/>
                        </a:mapping>
                    </a:field>
                    <a:field name="ref_v03_desc" displayField="code_value_name" options="hls050_calc_config_attribute_YES_NO" returnField="ref_v03" valueField="code_value"/>
                </a:fields>
            </a:dataSet>
        </a:dataSets>
        <a:screenBody>
            <a:screenTopToolbar>
                <a:gridButton click="hls_fin_calc_config_attribute_close" text="HLS.CLOSE"/>
                <a:gridButton click="hls_fin_calc_config_attribute_save" text="HLS.SAVE"/>
            </a:screenTopToolbar>
            <a:form column="2" title=" " width="500">
                <a:textField name="column_name" bindTarget="hls_fin_calc_config_attribute_ds" prompt="" readOnly="true"/>
                <a:textField name="prompt" bindTarget="hls_fin_calc_config_attribute_ds" prompt="" readOnly="true"/>
            </a:form>
            <a:fieldSet labelWidth="120" title="HLS050.PARA_DEFINE">
                <a:textField name="lov_cascade_para1" bindTarget="hls_fin_calc_config_attribute_ds" prompt="HLS050.HLS_FIN_CALC_CONFIG.LOV_CASCADE_PARA1"/>
                <a:textField name="lov_cascade_para2" bindTarget="hls_fin_calc_config_attribute_ds" prompt="HLS050.HLS_FIN_CALC_CONFIG.LOV_CASCADE_PARA2"/>
                <a:textField name="lov_cascade_para3" bindTarget="hls_fin_calc_config_attribute_ds" prompt="HLS050.HLS_FIN_CALC_CONFIG.LOV_CASCADE_PARA3"/>
                <a:textField name="ref_v01" bindTarget="hls_fin_calc_config_attribute_ds" prompt="HLS050.QUOTATION_SPLIT_RULE"/>
                <a:lov name="ref_v02" bindTarget="hls_fin_calc_config_attribute_ds" prompt="HLS050.LOV_SEARCH_SQL"/>
                <a:comboBox name="ref_v03_desc" bindTarget="hls_fin_calc_config_attribute_ds" prompt="HLS050.COPY_FROM_SOURCE_PRICE"/>
                <a:textField name="ref_v04" bindTarget="hls_fin_calc_config_attribute_ds" prompt="HLS050.ADDITIONAL_FIELD_CHARACTER4"/>
                <a:textField name="ref_v05" bindTarget="hls_fin_calc_config_attribute_ds" prompt="HLS050.ADDITIONAL_FIELD_CHARACTER5"/>
                <a:numberField name="ref_n01" bindTarget="hls_fin_calc_config_attribute_ds" prompt="HLS050.ADDITIONAL_FIELD_NUMBER1"/>
                <a:numberField name="ref_n02" bindTarget="hls_fin_calc_config_attribute_ds" prompt="HLS050.ADDITIONAL_FIELD_NUMBER2"/>
                <a:numberField name="ref_n03" bindTarget="hls_fin_calc_config_attribute_ds" prompt="HLS050.ADDITIONAL_FIELD_NUMBER3"/>
                <a:numberField name="ref_n04" bindTarget="hls_fin_calc_config_attribute_ds" prompt="HLS050.ADDITIONAL_FIELD_NUMBER4"/>
                <a:numberField name="ref_n05" bindTarget="hls_fin_calc_config_attribute_ds" prompt="HLS050.ADDITIONAL_FIELD_NUMBER5"/>
            </a:fieldSet>
        </a:screenBody>
    </a:view>
</a:screen>
