<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: ZLF $Date: 2015-1-15 下午1:08:37 $Revision: 1.0 $Purpose: --> <a:screen xmlns:a="http://www.leaf-framework.org/application"> <a:init-procedure><![CDATA[ ]]></a:init-procedure> <a:view> <script type="text/javascript"><![CDATA[ function query() { $('ast608_terminate_result_ds').query(); } function reset() { $('ast607_terminate_query_ds').reset(); } ]]></script> <a:dataSets> <a:dataSet id="ast607_terminate_query_ds"> <a:fields> <a:field name="contract_number"/> <a:field name="bp_name"/> </a:fields> </a:dataSet> <a:dataSet id="ast608_terminate_result_ds" autoPageSize="true" autoQuery="true" model="ast.AST608.ast_terminate_situation" queryDataSet="ast607_terminate_query_ds"> <a:fields> <a:field name="compulsory_insurance_end_date" datatype="java.util.Date"/> <a:field name="commercial_insurance_end_date" datatype="java.util.Date"/> </a:fields> </a:dataSet> </a:dataSets> <a:screenBody> <a:screenTopToolbar> <a:screenTitle/> <a:gridButton click="query" text="查询"/> <a:gridButton click="reset" text="重置"/> </a:screenTopToolbar> <a:form column="4" marginWidth="60" title="查询条件"> <a:textField name="contract_number" bindTarget="ast607_terminate_query_ds" prompt="合同号"/> <a:textField name="bp_name" bindTarget="ast607_terminate_query_ds" prompt="承租人名称"/> </a:form> <a:grid bindTarget="ast608_terminate_result_ds" marginHeight="200" marginWidth="60" navBar="true"> <a:toolBar> <a:button type="excel"/> </a:toolBar> <a:columns> <a:column name="contract_number" align="center" prompt="合同号" width="150"/> <a:column name="bp_name" align="center" prompt="承租人名称" width="120"/> <a:column name="brand_des" align="center" prompt="品牌" width="100"/> <a:column name="series_des" align="center" prompt="车系" width="100"/> <a:column name="model_des" align="center" prompt="车型" width="100"/> <a:column name="item_frame_number" align="center" prompt="车架号" width="100"/> <a:column name="contract_status_des" align="center" prompt="合同状态" width="100"/> <a:column name="terminate_flag_des" align="center" prompt="费用结清情况" width="100"/> <a:column name="transfer_flag_des" align="center" prompt="过户手续完成情况" width="120"/> <a:column name="relieve_mortgage_flag_des" align="center" prompt="抵押手续完成情况" width="120"/> <a:column name="commercial_insurance_end_date" align="center" prompt="商业险到期日" renderer="Leaf.formatDate" width="100"/> <a:column name="compulsory_insurance_end_date" align="center" prompt="强制险到期日" renderer="Leaf.formatDate" width="100"/> </a:columns> </a:grid> </a:screenBody> </a:view> </a:screen>