<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.Product_StockLog_Operate_Dialog, V5Shop.Shop.Category" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc1" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<!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="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />
    <link href="js/calendar-system.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" language="javascript" src="js/Common.js"></script>

    <script type="text/javascript" language="javascript" src="Js/Calendar.js"></script>

    <script type="text/javascript" language="javascript" src="Js/Calendar-zh.js"></script>

    <script type="text/javascript" language="javascript" src="Js/Calendar-Setup.js"></script>

</head>
<body>
    <form id="form1" runat="server">
        <div class="OperateTitle">
            <div>
                <asp:Label ID="lblAdd" runat="server" Text="【 库存添加 】"></asp:Label>
            </div>
        </div>
        <div>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="OperateTable">
                <tr id="trSearchProduct" runat="server">
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="lblSearchProductName" runat="server" Text="搜索商品："></asp:Label>
                    </td>
                    <td bgcolor="#FFFFFF" align="left" style="height: 30px">
                        <asp:TextBox ID="txtSearchProductName" runat="server" MaxLength="100"></asp:TextBox>
                        <asp:Button ID="btnSearch" runat="server" CssClass="button" Text="搜索" CausesValidation="False"
                            OnClick="btnSearch_Click" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#ffffff" style="width: 20%; height: 30px">
                        <asp:Label ID="lblSelectProduct" runat="server" Text="选择商品："></asp:Label></td>
                    <td align="left" bgcolor="#ffffff" style="height: 30px">
                        <asp:DropDownList ID="ddlProductList" runat="server">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#ffffff" style="width: 20%; height: 30px">
                        <asp:Label ID="lblIsOut" runat="server" Text="操作类型："></asp:Label></td>
                    <td align="left" bgcolor="#ffffff" style="height: 30px">
                        <asp:DropDownList ID="ddlIsOut" runat="server">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="lblCount" runat="server" Text="数量："></asp:Label>
                    </td>
                    <td bgcolor="#FFFFFF" align="left" style="height: 30px">
                        <asp:TextBox ID="txtCount" runat="server" TextMode="SingleLine"></asp:TextBox>
                        <span class="NeedMsg">*</span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" ControlToValidate="txtCount"
                            runat="server" ErrorMessage="不能为空" Display="Dynamic"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtCount"
                            Display="Dynamic" ErrorMessage="只能为数字" ValidationExpression="\d*" Visible="False"></asp:RegularExpressionValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtCount"
                            ErrorMessage="只能为数字且长度不能超过9位" ValidationExpression="^[\d]{0,9}([\.]+\d+){0,9}$"></asp:RegularExpressionValidator></td>
                </tr>
                <tr>
                    <td height="30" align="right" bgcolor="#FFFFFF" style="width: 20%">
                    </td>
                    <td bgcolor="#FFFFFF" align="left">
                        <asp:Button ID="btnAdd" runat="server" Text="确定" OnClick="btnAdd_Click" CssClass="button" />
                        <input id="iptReset" runat="server" type="reset" value="重置" class="button" />&nbsp;</td>
                </tr>
            </table>

            <script type="text/javascript">
            //加TABLE样式
            InitTrClass();
            </script>

        </div>
        <uc1:PageBottom ID="PageBottom1" runat="server" />
    </form>
</body>
</html>
