<%@ Page AutoEventWireup="true"  CodeBehind="Web25_ChangeUser_Operate.aspx.cs"  Inherits="Web25175_Hotel2.Web.Web25_ChangeUser_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="txtNowUserName" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorNowUserName1" runat="server" ControlToValidate="txtNowUserName" ErrorMessage="请填写：交班员工" Display="None"></asp:RequiredFieldValidator>


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


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">本班应交接金额：</td>
                <td>
                   <asp:TextBox ID="txtNowShouldAmount" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorNowShouldAmount1" runat="server" ControlToValidate="txtNowShouldAmount" ErrorMessage="请填写：本班应交接金额" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">上交财务金额：</td>
                <td>
                   <asp:TextBox ID="txtNowUpAmount" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorNowUpAmount1" runat="server" ControlToValidate="txtNowUpAmount" ErrorMessage="请填写：上交财务金额" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">财务下放金额：</td>
                <td>
                   <asp:TextBox ID="txtNowDownAmount" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorNowDownAmount1" runat="server" ControlToValidate="txtNowDownAmount" ErrorMessage="请填写：财务下放金额" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <div  visible="false" runat="server">
            <tr class="F7tr">
                <td class="left">本班开房数量：</td>
                <td>
                   <asp:TextBox ID="txtNowOpenNumber" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorNowOpenNumber1" runat="server" ControlToValidate="txtNowOpenNumber" ErrorMessage="请填写：本班开房数量" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">本班结账数量：</td>
                <td>
                   <asp:TextBox ID="txtNowCloseNumber" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorNowCloseNumber1" runat="server" ControlToValidate="txtNowCloseNumber" ErrorMessage="请填写：本班结账数量" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">本班收取押金总金额：</td>
                <td>
                   <asp:TextBox ID="txtNowSumDeposit" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorNowSumDeposit1" runat="server" ControlToValidate="txtNowSumDeposit" ErrorMessage="请填写：本班收取押金总金额" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">本班退还押金总金额：</td>
                <td>
                   <asp:TextBox ID="txtNowBackSumDeposit" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorNowBackSumDeposit1" runat="server" ControlToValidate="txtNowBackSumDeposit" ErrorMessage="请填写：本班退还押金总金额" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">本班当前押金余额：</td>
                <td>
                   <asp:TextBox ID="txtNowBalanceDeposit" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorNowBalanceDeposit1" runat="server" ControlToValidate="txtNowBalanceDeposit" ErrorMessage="请填写：本班当前押金余额" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="FFtr">
                <td class="left">结账补差金额：</td>
                <td>
                   <asp:TextBox ID="txtNowReserveAmount" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorNowReserveAmount1" runat="server" ControlToValidate="txtNowReserveAmount" ErrorMessage="请填写：结账补差金额" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            <tr class="F7tr">
                <td class="left">本班结算营业款金额：</td>
                <td>
                   <asp:TextBox ID="txtNowBusinessAmount" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorNowBusinessAmount1" runat="server" ControlToValidate="txtNowBusinessAmount" ErrorMessage="请填写：本班结算营业款金额" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            </div>
            <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="txtAmount" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorAmount1" runat="server" ControlToValidate="txtAmount" ErrorMessage="请填写：前班转到本班金额" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
                        <div id="Div1"  visible="false" runat="server">
            <tr class="FFtr">
                <td class="left">转到下班金额：</td>
                <td>
                   <asp:TextBox ID="txtNextAmount" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorNextAmount1" runat="server" ControlToValidate="txtNextAmount" ErrorMessage="请填写：转到下班金额" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
            </div>
            <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:DropDownList>

                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorState1" runat="server" ControlToValidate="txtState" 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("txtNowDate","yyyy-MM-dd");

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