<%@ Page AutoEventWireup="true"  CodeBehind="Web25_RoomOrder_Operate.aspx.cs"  Inherits="Web25175_Hotel2.Web.Web25_RoomOrder_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="txtRoomCode" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorRoomCode1" runat="server" ControlToValidate="txtRoomCode" ErrorMessage="请填写：房间号" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">房间类型：</td>
                <td>
                   <asp:TextBox ID="txtRoomType" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <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:TextBox ID="txtTel" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorTel1" runat="server" ControlToValidate="txtTel" ErrorMessage="请填写：电话" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">预抵时间：</td>
                <td>
                   <asp:TextBox ID="txtInTime" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorInTime1" runat="server" ControlToValidate="txtInTime" ErrorMessage="请填写：预抵时间" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">预离时间：</td>
                <td>
                   <asp:TextBox ID="txtLeaveTime" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorLeaveTime1" runat="server" ControlToValidate="txtLeaveTime" ErrorMessage="请填写：预离时间" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">保留时间：</td>
                <td>
                   <asp:TextBox ID="txtSaveTime" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorSaveTime1" runat="server" ControlToValidate="txtSaveTime" ErrorMessage="请填写：保留时间" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">状态：</td>
                <td>
                        <asp:DropDownList ID="txtState" runat="server" CssClass="dropdownlist">
                            <asp:ListItem Value="预订中">预订中</asp:ListItem>
                            <asp:ListItem Value="已入住">已入住</asp:ListItem>
                            <asp:ListItem Value="已取消">已取消</asp:ListItem>
                        </asp:DropDownList>

                   
                </td>

            </tr>
            <tr class="FFtr">
                <td class="left">登记人：</td>
                <td>
                   <asp:TextBox ID="txtUserName" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorUserName1" runat="server" ControlToValidate="txtUserName" ErrorMessage="请填写：登记人" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr">
                <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("txtInTime","yyyy-MM-dd HH:mm:ss");
        uiCalendar_Setup("txtLeaveTime","yyyy-MM-dd HH:mm:ss");
        uiCalendar_Setup("txtSaveTime","yyyy-MM-dd HH:mm:ss");
        uiCalendar_Setup("txtAddDate","yyyy-MM-dd HH:mm:ss");

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