123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmCrmSfhrList.aspx.cs" Inherits="AppFms_Crm_frmCrmSfhrList" %>
- <!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 = "frmCrmSfhrEdit.aspx";
- eci.open(url);
- }
- function editAction(obj) {
- var key = $(obj).getKey();
- var url = "frmCrmSfhrEdit.aspx?key=" + key;
- eci.open(url);
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <div id="root">
- <asp:ETitle runat="server" ID="pagetitle" Title="收发货人"></asp:ETitle>
- <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>
- </tr>
- <tr>
- <td class="lbl">类型</td>
- <td>
- <asp:ECombox runat="server" ID="cboSfhrlx" DataField="SFHRLX" Query="A.SFHRLX|string|=" AddEmpty="true" ECIType="SFHRLX" Width="85%"></asp:ECombox></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:ETextBox runat="server" ID="txtZjm" DataField="ZJM" Query="A.ZJM|string|like" Width="85%"></asp:ETextBox></td>
- </tr>
- <tr>
- <td class="lbl">是否生效</td>
- <td>
- <asp:ECombox runat="server" ID="cboStatus" DataField="STATUS" Query="A.STATUS|string|=" AddEmpty="true" ECIType="FMS_ISUSE" Width="85%"></asp:ECombox></td>
- <td class="lbl">国家代码</td>
- <td>
- <asp:ETextBox runat="server" ID="txtCountry" DataField="COUNTRY" Query="A.COUNTRY|string|like" Width="85%"></asp:ETextBox></td>
- <td class="lbl">城市</td>
- <td>
- <asp:ETextBox runat="server" ID="txtCity" DataField="CITY" Query="A.CITY|string|like" Width="85%"></asp:ETextBox></td>
- </tr>
- <tr>
- <td class="center" colspan="6">
- <asp:EButton runat="server" ID="btnSearch" Text="查询" Icon="find" />
- <asp:EButton runat="server" ID="btnReset" IsClient="true" Text="重置" Icon="reset" OnClientClick="eci.reset('tbQuery');" /></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"
- FitWindow="true" EnableSorting="True" EnableSelect="false" EnablePaging="true" EnableClickSelectRow="true"
- Width="1000px" KeyField="GUID" HAlign="center" OnClick="editAction">
- <Columns>
- <asp:TemplateField HeaderText="操作" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="150">
- <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:BoundField DataField="SFHRLX_NAME" HeaderText="类型" SortExpression="SFHRLX_NAME" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="STATUS_NAME" HeaderText="是否生效" SortExpression="STATUS_NAME" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="ZJM" HeaderText="助记码" SortExpression="ZJM" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="NAME" HeaderText="名称" SortExpression="NAME" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="ADDRESS" HeaderText="地址" SortExpression="ADDRESS" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="CODE" HeaderText="代码" SortExpression="CODE" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="AEO" HeaderText="AEO编码" SortExpression="AEO" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="COUNTRY" HeaderText="国家代码" SortExpression="COUNTRY" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="PROVINCE" HeaderText="省份" SortExpression="PROVINCE" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="CITY" HeaderText="城市" SortExpression="CITY" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="ZIP" HeaderText="邮编" SortExpression="ZIP" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="TEL" HeaderText="电话" SortExpression="TEL" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="FAX" HeaderText="传真" SortExpression="FAX" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="PIRNT" HeaderText="Print" SortExpression="PIRNT" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="CREATE_USER_NAME" HeaderText="创建人" SortExpression="CREATE_USER_NAME" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="CREATE_DATE" HeaderText="创建日期" SortExpression="CREATE_DATE" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="UPDATE_USER_NAME" HeaderText="修改人" SortExpression="UPDATE_USER_NAME" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="UPDATE_DATE" HeaderText="修改日期" SortExpression="UPDATE_DATE" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" ItemStyle-Width="150"></asp:BoundField>
- </Columns>
- </asp:EGridView>
- </div>
- </div>
- </form>
- </body>
- </html>
|