123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmBdExtendDataList.aspx.cs" Inherits="AppFms_Bd_frmBdExtendDataList" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title>业务扩展基础资料</title>
- <link href="../../Themes/Default/eci.css" rel="stylesheet" />
- <!-- #include File="../../App/Common/PageLoad.aspx" -->
- <script type="text/javascript">
- function deleteAction(obj) {
- msg.confirm("确定要执行删除操作吗?", obj);
- }
- function addAction() {
- var url = "frmBdExtendDataEdit.aspx?datatype=" + $("#hidDataType").val();
- eci.open(url);
- }
- function editAction(obj) {
- var key = $(obj).getKey();
- var url = "frmBdExtendDataEdit.aspx?key=" + key + "&datatype=" + $("#hidDataType").val();
- eci.open(url);
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <div id="root">
-
- <asp:ETitle runat="server" ID="pagetitle" Title="业务扩展基础资料"></asp:ETitle>
- <input type="hidden" runat="server" id="hidDataType" />
-
- <div id="divQuery" style="width: 100%;">
- <table id="tbQuery" class="grid" cellpadding="0" cellspacing="0">
- <tr>
- <th style="width: 10%"></th>
- <th style="width: 20%"></th>
- <th style="width: 10%"></th>
- <th style="width: 20%"></th>
- <th style="width: 10%"></th>
- <th style="width: 20%"></th>
- <th style="width: 10%"></th>
- <th style="width: 20%"></th>
- </tr>
- <tr>
- <td class="lbl">分组名称</td>
- <td>
- <asp:EChoose runat="server" ID="txtDataType" ECIType="BD_EXTEND_DATA_TYPE" DataField="DATA_TYPE" Query="A.DATA_TYPE|string|=" Width="85%"></asp:EChoose>
- </td>
- <td class="lbl">代码</td>
- <td>
- <asp:ETextBox runat="server" ID="txtCode" DataField="CODE" Query="A.CODE|string|like" Width="85%"></asp:ETextBox></td>
- <td class="lbl">名称</td>
- <td>
- <asp:ETextBox runat="server" ID="txtName" DataField="NAME" Query="A.NAME|string|like" Width="85%"></asp:ETextBox></td>
- <td class="lbl">是否启用</td>
- <td>
- <asp:ECombox runat="server" ID="cboStatus" DefaultValue="Y" DataField="STATUS" ECIType="FMS_ISUSE" Query="A.STATUS|string|=" Width="85%"></asp:ECombox>
- </td>
- </tr>
- <tr class="morecondition">
-
- <td class="lbl remove">公司代码</td>
- <td class="remove">
- <asp:ETextBox runat="server" ID="txtCompanyCode" DataField="COMPANY_CODE" ReadOnly="true" Width="85%"></asp:ETextBox></td>
- <td class="lbl remove">公司名称</td>
- <td class="remove">
- <asp:ETextBox runat="server" ID="txtCompanyName" ReadOnly="true" Width="85%"></asp:ETextBox></td>
- </tr>
- <tr>
- <td class="center" colspan="8">
- <asp:EButton runat="server" ID="btnSearch" Text="查询" Icon="find" />
- <asp:EButton runat="server" ID="btnReset" IsClient="true" Text="重置" Icon="reset" OnClientClick="eci.reset('tbQuery');" />
- <asp:EToggle runat="server" ID="btnShow" Icon="find" Selector=".morecondition" IsShow="false" />
- </td>
- </tr>
- </table>
- </div>
- <div id="toolbar">
- <asp:EButton runat="server" ID="btnAdd" Text="新增" Icon="Add" OnClientClick="addAction();" IsClient="true" />
- </div>
- <div id="datagrid">
- <asp:EGridView ID="gvData" Layout="divQuery,toolbar,pagetitle" runat="server" EnableExcel="true" ExcelName="基础资料"
- FitWindow="true" EnableSorting="True" EnableSelect="false" EnablePaging="true" EnableClickSelectRow="true"
- Width="1000px" KeyField="GUID" HAlign="center" OnClick="editAction">
- <Columns>
- <asp:TemplateField HeaderText="操作" ItemStyle-Width="160">
- <ItemTemplate>
- <asp:EButton runat="server" ID="btnEdit" Text="编辑" IsClient="true" Icon="edit" OnClientClick="editAction(this);" />
- <asp:EButton runat="server" Icon="Delete" ID="btnDelete" Text="删除" IsClient="true" OnClientClick="return deleteAction(this);" CommandArgument='<%#Eval("GUID")%>' OnClick="btnDelete_Click" />
- </ItemTemplate>
- </asp:TemplateField>
- <asp:EBoundField DataField="DATA_TYPE" HeaderText="分组代码" SortExpression="DATA_TYPE" ItemStyle-Width="100"></asp:EBoundField>
- <asp:EBoundField DataField="TYPE_NAME" HeaderText="分组名称" SortExpression="TYPE_NAME" ItemStyle-Width="120"></asp:EBoundField>
- <asp:EBoundField DataField="CODE" HeaderText="代码" SortExpression="CODE" ItemStyle-Width="100"></asp:EBoundField>
- <asp:EBoundField DataField="NAME" HeaderText="名称" SortExpression="NAME" ItemStyle-Width="100"></asp:EBoundField>
- <asp:EBoundField DataField="STATUS_NAME" HeaderText="是否启用" SortExpression="STATUS" ItemStyle-Width="80"></asp:EBoundField>
- <asp:EBoundField DataField="SEQ" HeaderText="顺序" SortExpression="SEQ" ItemStyle-Width="80"></asp:EBoundField>
- <asp:EBoundField DataField="MEMO" HeaderText="备注" SortExpression="MEMO" ItemStyle-Width="150"></asp:EBoundField>
- <asp:EBoundField DataField="CREATE_USER_NAME" HeaderText="创建人" SortExpression="CREATE_USER_NAME" ItemStyle-Width="100"></asp:EBoundField>
- <asp:EBoundField DataField="CREATE_DATE" HeaderText="创建时间" SortExpression="CREATE_DATE" ItemStyle-Width="150"></asp:EBoundField>
- <asp:EBoundField DataField="UPDATE_USER_NAME" HeaderText="修改人" SortExpression="UPDATE_USER_NAME" ItemStyle-Width="100"></asp:EBoundField>
- <asp:EBoundField DataField="UPDATE_DATE" HeaderText="修改时间" SortExpression="UPDATE_DATE" ItemStyle-Width="150"></asp:EBoundField>
- </Columns>
- </asp:EGridView>
- </div>
- </div>
- </form>
- </body>
- </html>
|