<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: wujun $Date: 2016年11月1日15:40:53 $Revision: 1.0 $Purpose: 项目管理要求预定义主界面 --> <a:screen xmlns:a="http://www.leaf-framework.org/application"> <a:init-procedure/> <a:view> <script type="text/javascript"><![CDATA[ function hn4010_hn_manage_required_template_query() { $('hn4010_hn_manage_require_template_result_ds').query(); } function hn4010_hn_manage_required_template_reset() { $('hn4010_hn_manage_require_template_query_ds').reset(); } ]]></script> <a:dataSets> <a:dataSet id="hn4010_hn_manage_require_template_enable_flag" lookupCode="YES_NO"/> <a:dataSet id="hn4010_hn_manage_require_template_query_ds"> <a:fields> <a:field name="enabled_flag_n" displayField="code_value_name" options="hn4010_hn_manage_require_template_enable_flag" returnField="enabled_flag" valueField="code_value"/> </a:fields> </a:dataSet> <a:dataSet id="hn4010_hn_manage_require_template_result_ds" autoQuery="true" model="hn.HN4010.hn_manage_require_template" queryDataSet="hn4010_hn_manage_require_template_query_ds" selectable="true"> <a:fields> <a:field name="enabled_flag" checkedValue="Y" defaultValue="Y" uncheckedValue="N"/> </a:fields> </a:dataSet> </a:dataSets> <a:screenBody> <a:screenTopToolbar> <a:screenTitle/> <a:gridButton click="hn4010_hn_manage_required_template_query" text="查询"/> <a:gridButton click="hn4010_hn_manage_required_template_reset" text="重置"/> </a:screenTopToolbar> <a:form column="4" marginWidth="60" title="查询条件"> <a:textField name="template_code" bindTarget="hn4010_hn_manage_require_template_query_ds" prompt="代码"/> <a:comboBox name="enabled_flag_n" bindTarget="hn4010_hn_manage_require_template_query_ds" prompt="启用标志"/> <a:textField name="manage_require" bindTarget="hn4010_hn_manage_require_template_query_ds" prompt="管理要求" width="500"/> </a:form> <a:grid id="hn4010_hn_manage_require_template_result_grid_id" bindTarget="hn4010_hn_manage_require_template_result_ds" marginHeight="150" marginWidth="60" navBar="true"> <a:toolBar> <a:button type="add"/> <a:button type="delete"/> <a:button type="save"/> <!-- <a:button type="clear"/> --> </a:toolBar> <a:columns> <a:column name="template_code" align="center" editor="editor_tf" prompt="代码" width="100"/> <a:column name="enabled_flag" editor="editor_chb" prompt="启用标志" width="100"/> <a:column name="manage_require" editor="editor_tf" prompt="管理要求" width="700"/> </a:columns> <a:editors> <a:textField id="editor_tf"/> <a:checkBox id="editor_chb"/> </a:editors> </a:grid> </a:screenBody> </a:view> </a:screen>