<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DepotInfManage.aspx.cs"
    Inherits="DreamerShop.Admin.DepotInfManage" %>

<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title>
        <%=myLanguagesDeal.GetMyString("DepotInfTextManage")%>
        -
        <%=mConfigInf.strWebTitle%>
    </title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <meta content="<%=mConfigInf.strDescription%>" name="description">
    <meta content="<%=mConfigInf.strKeywords%>" name="keywords">
    <link href="../StyleSheet1.css" rel="stylesheet">
</head>
<body ms_positioning="GridLayout">
    <form id="Form1" method="post" runat="server">
    <asp:Label ID="lbEditID" runat="server" Visible="false"></asp:Label>
    <uc1:LanguagesDeal ID="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
    <table width="97%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
            <td height="262" valign="top">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td bgcolor="#ffffff" valign="top" height="300">
                            <font face="宋体">
                                <asp:Panel ID="Pan1" runat="server">
                                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                        <tr>
                                            <td class="p12black">
                                                <span class="p9orange">
                                                    <img height="11" src="IMAGES/icon_1.gif" width="12" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextOtherParameter")%>--&gt;<%=myLanguagesDeal.GetMyString("DepotInfTextManage")%></span>
                                            </td>
                                            <td>
                                                <asp:ImageButton ID="btAddNew" runat="server" ImageUrl="../Images/Admin/fb-new.gif"
                                                    OnClick="btAddNew_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("DepotInfTextAddNew")%><!--新增-->
                                            </td>
                                            <td>
                                                <asp:ImageButton ID="ibtReturnPre" runat="server" ImageUrl="../Images/Admin/fb-cancel.gif"
                                                    CausesValidation="False" OnClick="ibtReturnPre_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("TextReturn")%>
                                            </td>
                                        </tr>
                                    </table>
                                    <hr noshade size="1">
                                    <asp:DataGrid ID="dgList" runat="server" CssClass="table-shangxia" PageSize="20"
                                        AllowPaging="false" AutoGenerateColumns="False" Width="100%" DataKeyField="DepotID"
                                        OnDeleteCommand="dgList_DeleteCommand" OnEditCommand="dgList_EditCommand" OnItemDataBound="dgList_ItemDataBound">
                                        <HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
                                        <Columns>
                                            <asp:BoundColumn DataField="DepotNumber" HeaderText="DepotInfTextNumber">
                                                <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                            </asp:BoundColumn>
                                            <asp:BoundColumn DataField="DepotName" HeaderText="DepotInfTextName">
                                                <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                            </asp:BoundColumn>
                                            
                                            <asp:BoundColumn DataField="LinkTel" HeaderText="CorpTextLinkTel">
                                                <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                            </asp:BoundColumn>
                                            <asp:BoundColumn DataField="LinkAddress" HeaderText="DepotInfTextAddress">
                                                <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                            </asp:BoundColumn>
                                            <asp:TemplateColumn HeaderText="TextOperation">
                                                <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                                <ItemTemplate>
                                                    <asp:Button ID="btEdit" Text="修改" CssClass="go-wenbenkuang" CommandName="Edit" runat="server">
                                                    </asp:Button>
                                                    <asp:Button ID="btDelete" Text="删除" CssClass="go-wenbenkuang" CommandName="Delete"
                                                        runat="server"></asp:Button>
                                                </ItemTemplate>
                                            </asp:TemplateColumn>
                                        </Columns>
                                        <PagerStyle Visible="False" NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right">
                                        </PagerStyle>
                                    </asp:DataGrid>
                                </asp:Panel>
                            </font>
                            <asp:Panel ID="Pan2" runat="server" Visible="False">
                                <table class="p9black" cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td>
                                            <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                                <tr>
                                                    <td class="p12black" align="left">
                                                        <span class="p9orange">
                                                            <img height="11" src="IMAGES/icon_1.gif" width="12" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("DepotInfTextManage")%>--&gt;
                                                            <asp:Label ID="lbMessage" runat="server"></asp:Label></span>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                                                    <td align="right" width="50">
                                                        <!--BUTTON_BEGIN-->
                                                        <table>
                                                            <tr>
                                                                <td valign="bottom" nowrap>
                                                                    <asp:ImageButton ID="ibtReturn" runat="server" ImageUrl="../Images/Admin/fb-cancel.gif"
                                                                        CausesValidation="False" OnClick="ibtReturn_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("TextReturn")%>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        <!--BUTTON_END-->
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                                <hr noshade size="1">
                                <table cellspacing="1" cellpadding="5" width="700" align="center" bgcolor="#cccccc"
                                    border="0">
                                    <tr bgcolor="#ffffff">
                                        <td align="right" width="30%">
                                            <%=myLanguagesDeal.GetMyString("DepotInfTextNumber")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%>
                                        </td>
                                        <td class="pad" width="70%">
                                            <font color="red">
                                                <asp:TextBox ID="txtNumber" runat="server" Width="250px" CssClass="wenbenkuang" MaxLength="30"
                                                    EnableViewState="False"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvNumber" runat="server" ErrorMessage="请输入编号" Display="Dynamic"
                                                    ControlToValidate="txtNumber"></asp:RequiredFieldValidator></font>
                                        </td>
                                    </tr>
                                    <tr bgcolor="#ffffff">
                                        <td align="right" width="30%">
                                            <%=myLanguagesDeal.GetMyString("DepotInfTextName")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%>
                                        </td>
                                        <td class="pad">
                                            <font color="red">
                                                <asp:TextBox ID="txtName" runat="server" Width="250px" CssClass="wenbenkuang" MaxLength="100"
                                                    EnableViewState="False"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvName" runat="server" ErrorMessage="请输入名称" Display="Dynamic"
                                                    ControlToValidate="txtName"></asp:RequiredFieldValidator></font>
                                        </td>
                                    </tr>
                                    <tr bgcolor="#ffffff">
                                        <td align="right" width="30%">
                                            <%=myLanguagesDeal.GetMyString("CorpTextLinkMan")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--联系人：-->
                                        </td>
                                        <td class="pad">
                                            <font color="red">
                                                <asp:TextBox ID="txtLinkMan" runat="server" Width="250px" CssClass="wenbenkuang"
                                                    MaxLength="30" EnableViewState="False"></asp:TextBox></font>
                                        </td>
                                    </tr>
                                    <tr bgcolor="#ffffff">
                                        <td align="right" width="30%">
                                            <%=myLanguagesDeal.GetMyString("CorpTextLinkTel")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--联系电话：-->
                                        </td>
                                        <td class="pad">
                                            <font color="red">
                                                <asp:TextBox ID="txtTel" runat="server" Width="250px" CssClass="wenbenkuang" MaxLength="40"
                                                    EnableViewState="False"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvTel" runat="server" ErrorMessage="请输入电话" Display="Dynamic"
                                                    ControlToValidate="txtTel"></asp:RequiredFieldValidator></font>
                                        </td>
                                    </tr>
                                    <tr bgcolor="#ffffff">
                                        <td align="right" width="30%">
                                            <%=myLanguagesDeal.GetMyString("CorpTextFax")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--传真：-->
                                        </td>
                                        <td class="pad">
                                            <font color="red">
                                                <asp:TextBox ID="txtFax" runat="server" Width="250px" CssClass="wenbenkuang" MaxLength="40"
                                                    EnableViewState="False"></asp:TextBox></font>
                                        </td>
                                    </tr>
                                    <tr bgcolor="#ffffff">
                                        <td align="right" width="30%">
                                            <%=myLanguagesDeal.GetMyString("DepotInfTextAddress")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--地址：-->
                                        </td>
                                        <td class="pad">
                                            <font color="red">
                                                <asp:TextBox ID="txtAddress" runat="server" Width="250px" CssClass="wenbenkuang"
                                                    MaxLength="100" EnableViewState="False"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="rfvAddress" runat="server" ErrorMessage="请输入地址" Display="Dynamic"
                                                    ControlToValidate="txtAddress"></asp:RequiredFieldValidator></font>
                                        </td>
                                    </tr>
                                    <tr bgcolor="#ffffff">
                                        <td align="right" width="30%">
                                            <%=myLanguagesDeal.GetMyString("CorpTextPostCode")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--邮政编码：-->
                                        </td>
                                        <td class="pad">
                                            <font color="red">
                                                <asp:TextBox ID="txtPostCode" runat="server" Width="250px" CssClass="wenbenkuang"
                                                    MaxLength="15" EnableViewState="False"></asp:TextBox></font>
                                        </td>
                                    </tr>
                                    <tr bgcolor="#ffffff">
                                        <td align="right">
                                            <%=myLanguagesDeal.GetMyString("TextTaxisNumber")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--排序号：-->
                                        </td>
                                        <td class="pad">
                                            <asp:TextBox ID="txtOrder" runat="server" Width="50px" CssClass="wenbenkuang" MaxLength="2"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvOrder" runat="server" ErrorMessage="请输入排序号" Display="Dynamic"
                                                ControlToValidate="txtOrder" ForeColor="#FF0000"></asp:RequiredFieldValidator>
                                            <asp:CompareValidator ID="cpvOrder" runat="server" ErrorMessage="请输入整数" Display="Dynamic"
                                                ControlToValidate="txtOrder" Type="Integer" Operator="DataTypeCheck" ForeColor="#FF0000"></asp:CompareValidator>
                                        </td>
                                    </tr>
									<tr bgcolor="#ffffff">
                                        <td align="right">
                                            <%=myLanguagesDeal.GetMyString("BatchProductDownTextAreaOne")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%>
                                        </td>
                                        <td class="pad" width="70%">
                                            <asp:TextBox ID="txtState" runat="server" Width="200px" CssClass="wenbenkuang" MaxLength="100"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="Requiredfieldvalidator1" runat="server" ErrorMessage="请输入省份"
                                                ForeColor="#FF0000" Display="Dynamic" ControlToValidate="txtState"></asp:RequiredFieldValidator></FONT>
                                        </td>
                                    </tr>
                                    <tr bgcolor="#ffffff">
                                        <td align="right">
                                            <%=myLanguagesDeal.GetMyString("BatchProductDownTextAreaTwo")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%>
                                        </td>
                                        <td class="pad" width="70%">
                                            <asp:TextBox ID="txtCity" runat="server" Width="200px" CssClass="wenbenkuang" MaxLength="100"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvCity" runat="server" ErrorMessage="请输入城市" Display="Dynamic"
                                                ForeColor="#FF0000" ControlToValidate="txtCity"></asp:RequiredFieldValidator></FONT>
                                        </td>
                                    </tr>
                                    <tr bgcolor="#ffffff">
                                        <td align="right">
                                            <%=myLanguagesDeal.GetMyString("TextDefaultStr")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--默认等级：-->
                                        </td>
                                        <td class="pad" width="70%">
                                            </FONT>
                                            <asp:CheckBox ID="ckDefault" runat="server" Text="是"></asp:CheckBox>
                                        </td>
                                    </tr>
                                    <tr bgcolor="#ffffff">
                                        <td align="right" width="20%">
                                        </td>
                                        <td class="pad">
                                            &nbsp;
                                            <asp:Button ID="btSubmit" runat="server" CssClass="go-wenbenkuang" Text="提交信息" OnClick="btSubmit_Click">
                                            </asp:Button>
                                            <asp:Button ID="btSave" runat="server" CssClass="go-wenbenkuang" Text="更新信息" OnClick="btSave_Click">
                                            </asp:Button>&nbsp;&nbsp;
                                        </td>
                                    </tr>
                                </table>
                                <p align="center">
                                    <asp:Label ID="lbInfo" runat="server" ForeColor="Red"></asp:Label></p>
                            </asp:Panel>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
