<%@ Page AutoEventWireup="true" CodeBehind="Web25_RoomIn_Operate.aspx.cs" Inherits="Web25175_Hotel2.Web.Web25_RoomIn_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="txtAccountNumber" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorAccountNumber1" runat="server" ControlToValidate="txtAccountNumber" ErrorMessage="请填写：账单号" Display="None"></asp:RequiredFieldValidator>


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


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


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">预住天数：</td>
                <td>
                   <asp:TextBox ID="txtInDay" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorInDay1" runat="server" ControlToValidate="txtInDay" ErrorMessage="请填写：预住天数" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr">
                <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="FFtr">
                <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="F7tr">
                <td class="left">押金：</td>
                <td>
                   <asp:TextBox ID="txtDeposit" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorDeposit1" runat="server" ControlToValidate="txtDeposit" ErrorMessage="请填写：押金" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">&nbsp;</td>
                <td>
                    <asp:CheckBox ID="chkIsHour" runat="server" /> 是否钟点房
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">打折比例：</td>
                <td>
                   <asp:TextBox ID="txtDiscountPercentage" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorDiscountPercentage1" runat="server" ControlToValidate="txtDiscountPercentage" 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>
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">实际单价：</td>
                <td>
                   <asp:TextBox ID="txtPrice" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorPrice1" runat="server" ControlToValidate="txtPrice" ErrorMessage="请填写：实际单价" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">宾客人数：</td>
                <td>
                   <asp:TextBox ID="txtInNumber" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorInNumber1" runat="server" ControlToValidate="txtInNumber" ErrorMessage="请填写：宾客人数" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">付款方式：</td>
                <td>
                        <asp:DropDownList ID="txtPayType" runat="server" CssClass="dropdownlist">
                            <asp:ListItem Value="现金">现金</asp:ListItem>
                            <asp:ListItem Value="银行卡">银行卡</asp:ListItem>
                            <asp:ListItem Value="其他">其他</asp:ListItem>
                        </asp:DropDownList>

                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorPayType1" runat="server" ControlToValidate="txtPayType" ErrorMessage="请选择：付款方式" Display="None"></asp:RequiredFieldValidator>


                </td>

            </tr>
            <tr class="FFtr" visible="false" runat="server">
                <td class="left">&nbsp;</td>
                <td>
                    <asp:CheckBox ID="chkIsDayPrompt" runat="server" /> 到预住天数自动提示
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">&nbsp;</td>
                <td>
                    <asp:CheckBox ID="chkIsSecret" runat="server" /> 保密房
                </td>
            </tr>
            <tr class="FFtr" visible="false" runat="server">
                <td class="left">&nbsp;</td>
                <td>
                    <asp:CheckBox ID="chkIsPrint" runat="server" /> 打印开单信息
                </td>
            </tr>
         </table>   
      <table class="OperateTable" style="position:absolute; z-index:100; top:37px; left:300px; width:350px">
            <tr class="F7tr">
                <td class="left">宾客类型：</td>
                <td>
                   <asp:TextBox ID="txtGuestType" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">宾客姓名：</td>
                <td>
                   <asp:TextBox ID="txtGuestName" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">宾客性别：</td>
                <td>
                        <asp:DropDownList ID="txtGuestSex" runat="server" CssClass="dropdownlist">
                            <asp:ListItem Value="男">男</asp:ListItem>
                            <asp:ListItem Value="女">女</asp:ListItem>
                        </asp:DropDownList>

                   
                </td>

            </tr>
            <tr class="FFtr">
                <td class="left">证件类型：</td>
                <td>
                        <asp:DropDownList ID="txtIDCardType" runat="server" CssClass="dropdownlist">
                            <asp:ListItem Value="身份证">身份证</asp:ListItem>
                            <asp:ListItem Value="驾驶证">驾驶证</asp:ListItem>
                            <asp:ListItem Value="学生证">学生证</asp:ListItem>
                            <asp:ListItem Value="军官证">军官证</asp:ListItem>
                            <asp:ListItem Value="护照">护照</asp:ListItem>
                            <asp:ListItem Value="工作证">工作证</asp:ListItem>
                            <asp:ListItem Value="其他">其他</asp:ListItem>
                        </asp:DropDownList>

                   
                </td>

            </tr>
            <tr class="F7tr">
                <td class="left">证件号码：</td>
                <td>
                   <asp:TextBox ID="txtIDCardNo" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">联系电话：</td>
                <td>
                   <asp:TextBox ID="txtTel" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">宾客来源：</td>
                <td>
                   <asp:TextBox ID="txtGuestFrom" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">公司名称：</td>
                <td>
                   <asp:TextBox ID="txtGuestCompany" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">地址信息：</td>
                <td>
                   <asp:TextBox ID="txtAddress" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">备注信息：</td>
                <td>
                   <asp:TextBox ID="txtRemark" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">其他：</td>
                <td>
                   <asp:TextBox ID="txtOther" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <div id="tr" visible="false" runat="server">
            <tr class="FFtr">
                <td class="left">挂账：</td>
                <td>
                   <asp:CheckBox ID="chkIsCard" runat="server" />
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">免费：</td>
                <td>
                   <asp:CheckBox ID="chkIsFree" runat="server" />
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">退单：</td>
                <td>
                   <asp:CheckBox ID="chkIsBack" runat="server" />
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">退押金：</td>
                <td>
                   <asp:CheckBox ID="chkIsRefund" runat="server" />
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">开发票：</td>
                <td>
                   <asp:CheckBox ID="chkIsInvoice" runat="server" />
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">应收金额：</td>
                <td>
                   <asp:TextBox ID="txtReceivableAmount" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">实收金额：</td>
                <td>
                   <asp:TextBox ID="txtActualAmount" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">支付金额：</td>
                <td>
                   <asp:TextBox ID="txtPayAmount" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="FFtr">
                <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="F7tr">
                <td class="left">登记人：</td>
                <td>
                   <asp:TextBox ID="txtUserName" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">操作日期：</td>
                <td>
                   <asp:TextBox ID="txtAddDate" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            </div>
        </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");
        uiCalendar_Setup("txtLeaveTime","yyyy-MM-dd");
        uiCalendar_Setup("txtAddDate","yyyy-MM-dd");

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