<%@ Page AutoEventWireup="true"  CodeBehind="Web25_Goods_Operate.aspx.cs"  Inherits="Web25175_Hotel2.Web.Web25_Goods_Operate"
    Language="C#" %>

<!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 id="Head1" runat="server">
    <title>商品管理</title>
    <script language="javascript" src="js/Web25175_Hotel2.v1.1.js" type="text/javascript"></script>
    <script language="javascript" src="js/Web25175_Hotel2.calendar.js" type="text/javascript"></script>
    <link href="css/main.css" rel="stylesheet" type="text/css" />
    
</head>
<body>
    <form id="form1" runat="server" autocomplete="off">
        <asp:HiddenField ID="HFID" runat="server" />
        <div class="OperateTitle">
            <div>
                <asp:Label ID="lblInsert" runat="server" Text="添加"></asp:Label>
                <asp:Label ID="lblUpdate" runat="server" Text="修改"></asp:Label>
            </div>
        </div>
        <table class="OperateTable">
            <tr class="FFtr">
                <td class="left">商品名称：</td>
                <td>
                   <asp:TextBox ID="txtName" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorName1" runat="server" ControlToValidate="txtName" ErrorMessage="请填写：商品名称" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">商品类别：</td>
                <td>
                   <asp:DropDownList ID="ddlTypeID" runat="server" CssClass="dropdownlist"></asp:DropDownList>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorTypeID1" runat="server" ControlToValidate="ddlTypeID" ErrorMessage="请选择：商品类别" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">成本价：</td>
                <td>
                   <asp:TextBox ID="txtCostPrice" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorCostPrice1" runat="server" ControlToValidate="txtCostPrice" ErrorMessage="请填写：成本价" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">预售价：</td>
                <td>
                   <asp:TextBox ID="txtSalePrice" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorSalePrice1" runat="server" ControlToValidate="txtSalePrice" ErrorMessage="请填写：预售价" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">库存数量：</td>
                <td>
                   <asp:TextBox ID="txtNumber" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorNumber1" runat="server" ControlToValidate="txtNumber" ErrorMessage="请填写：库存数量" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">报警数量：</td>
                <td>
                   <asp:TextBox ID="txtPromptNumber" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorPromptNumber1" runat="server" ControlToValidate="txtPromptNumber" ErrorMessage="请填写：报警数量" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">操作日期：</td>
                <td>
                   <asp:TextBox ID="txtAddDate" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorAddDate1" runat="server" ControlToValidate="txtAddDate" ErrorMessage="请填写：操作日期" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
        </table>
        <table id="OperateButton">
            <tr>
                <td class="left">
                    </td>
                <td style="width: auto; text-align: left;">
                    <asp:Button ID="btnInsert" runat="server" OnClick="btnInsert_Click" Text="添加" CssClass="btn" />
                    <asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="修改" CssClass="btn" />
                    <asp:Button ID="btnClose" runat="server" OnClick="btnClose_Click" Text="关闭" CssClass="btn" ValidationGroup="B" /></td>
            </tr>
        </table>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" />
    </form>
    <script type="text/javascript">
    uiReady(function() {
        uiCalendar_Setup("txtAddDate","yyyy-MM-dd");

    })
    </script>
</body>
</html>
