<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: qm $Date: 2014-4-21 下午1:55:37 $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="ast_car_condition_result_ds" model="ast.AST504.ast_car_condition" selectable="true"> <a:fields> <a:field name="ast_car_condition_id"/> <a:field name="item_detail_id"/> <a:field name="maintenance_date"/> <a:field name="maintenance_place"/> <a:field name="maintenance_content"/> <a:field name="salvage_value"/> <a:field name="vendibility"/> <a:field name="mileage"/> </a:fields> </a:dataSet> </a:dataSets> --> <a:grid id="ast_car_condition_grid_id" bindTarget="ast_car_condition_result_ds" height="200" marginWidth="30" navBar="true"> <a:toolBar> <a:button type="add"/> <a:button type="delete"/> </a:toolBar> <a:columns> <a:column name="maintenance_date" editor="ast_car_condition_dp" prompt="保养日期" renderer="Leaf.formatDate" width="100"/> <a:column name="maintenance_place" editor="ast_car_condition_tf" prompt="保养地点" width="250"/> <a:column name="maintenance_content" editor="ast_car_condition_tf" prompt="保养内容" width="418"/> <a:column name="mileage" align="right" editor="ast_car_condition_nf" prompt="行驶里程(KM)"/> <a:column name="salvage_value" align="right" editor="ast_car_condition_nf" prompt="残值" renderer="Leaf.formatMoney" width="100"/> <a:column name="vendibility" align="right" editor="ast_car_condition_nf" prompt="市场价值" renderer="Leaf.formatMoney" width="100"/> </a:columns> <a:editors> <a:numberField id="ast_car_condition_nf"/> <a:textField id="ast_car_condition_tf"/> <a:datePicker id="ast_car_condition_dp"/> </a:editors> </a:grid> <a:hBox/> </a:view> </a:screen>