📄 rbussimanmodule.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="RBussiManModule.ascx.cs" Inherits="JdglWeb.Modules.RBussiModule" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%@ Import Namespace="JdglWeb"%>
<!--BEGIN ROOMBUSSINESS MANAGEMENT MODULE-->
<TABLE cellSpacing="0" cellPadding="5" width="100%">
<TR class="rheader">
<TD class="rheadercol" align="left" colSpan="2" height="25">房间经营管理
</TD>
</TR> <!-- SPACER ROW -->
<TR class="rbody">
<TD class="rbodycol" align="left" width="40%" height="25">按房间类型:
<asp:dropdownlist id="RCategoryNameList" runat="server">
<asp:ListItem Value="0">请选择</asp:ListItem>
</asp:dropdownlist>状态:
<asp:dropdownlist id="StatusList" runat="server">
<asp:ListItem Value="0">请选择</asp:ListItem>
<asp:ListItem Value="1">未订</asp:ListItem>
<asp:ListItem Value="2">已订</asp:ListItem>
</asp:dropdownlist><asp:button id="search" runat="server" Text="查询" BorderStyle="Groove"></asp:button></TD>
<td><a id=AddUserLink
href='<%=PageBase.UrlBase + "/UserAccount.aspx"%>'
>添加新员工</a></td>
</TR>
<TR class="rbody">
<TD class="rbodycol" align="left" colSpan="2" height="25"><asp:datalist id="dl_RoomsList" runat="server" width="90%" BorderWidth="1" CellPadding="3" BorderColor="#ccccff"
OnSelectedIndexChanged="dl_RoomsList_Select" DataKeyField="RoomId" RepeatColumns="5" RepeatDirection="Horizontal" ShowHeader="True" ShowFooter="True"
CellSpacing="3">
<SelectedItemStyle BackColor="#6666ff"></SelectedItemStyle>
<SelectedItemTemplate>
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD width="15%">
<DIV><B><FONT color="#ff0000" size="4">
<asp:LinkButton CommandName="select" Runat="server">
<%# DataBinder.Eval(Container, "DataItem.RoomId") %>
</asp:LinkButton></FONT></B></DIV>
</TD>
</TR>
<TR>
<TD width="15%">
<DIV><B>类别:</B><%# DataBinder.Eval(Container, "DataItem.Name") %></DIV>
</TD>
</TR>
<TR>
<TD width="15%">
<DIV><B>空房:</B>
<asp:Label Runat="server" ID="Statuslabel2"></asp:Label></DIV>
</TD>
</TR>
</TABLE>
</SelectedItemTemplate>
<AlternatingItemStyle BackColor="#9999ff"></AlternatingItemStyle>
<ItemStyle BorderWidth="1" BorderColor="CornflowerBlue" BackColor="#ccccff"></ItemStyle>
<ItemTemplate>
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD width="15%">
<DIV><B><FONT color="#ff0000" size="4">
<asp:LinkButton CommandName="select" Runat="server" ID="Linkbutton1">
<%# DataBinder.Eval(Container, "DataItem.RoomId") %>
</asp:LinkButton></FONT></B></DIV>
</TD>
</TR>
<TR>
<TD width="15%">
<DIV><B>类别:</B><%# DataBinder.Eval(Container, "DataItem.Name") %></DIV>
</TD>
</TR>
<TR>
<TD width="15%">
<DIV><B>空房:</B>
<asp:Label Runat="server" ID="StatusLabel">
<%=Status%>
</asp:Label></DIV>
</TD>
</TR>
</TABLE>
</ItemTemplate>
<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#ccccff"></HeaderStyle>
<HeaderTemplate>
房间使用情况
</HeaderTemplate>
</asp:datalist></TD>
</TR>
<tr class="rbody">
<td class="rbody" align="left" colSpan="2" height="25"><asp:repeater id="rp_RoomDetails" Runat="server">
<HeaderTemplate>
<table style="FONT-WEIGHT: bolder; FONT-SIZE: 13px; COLOR: #0000ff" cellPadding="1" width="90%">
<tr>
<td width="14%">房间号</td>
<td width="14%">酒店业务</td>
<td width="14%">房间类型</td>
<td width="14%">面积(平方米)</td>
<td width="14%">价格(元/天)</td>
<td width="14%">床位(个)</td>
<td width="14%">房间位置</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table cellpadding="0" width="90%" style="FONT-SIZE: 13px; COLOR:#0033ff">
<tr>
<td width="14%">
<b><font color="red">
<%# DataBinder.Eval(Container.DataItem,"RoomId")%>
</font></b>
</td>
<td width="14%">
<asp:HyperLink NavigateUrl='<%# DataBinder.Eval(Container.DataItem,"RoomId",PageBase.UrlBase+"/RoomOrder.aspx?RoomId={0}")%>' Runat=server ID="OrderLink">订房</asp:HyperLink>
<asp:HyperLink NavigateUrl='<%# DataBinder.Eval(Container.DataItem,"RoomId",PageBase.UrlBase+"/RoomCheckOut.aspx?RoomId={0}")%>' Runat=server ID="CheckOutLink">退房</asp:HyperLink>
</td>
<td width="14%"><%# DataBinder.Eval(Container.DataItem,"Name")%>
</td>
<td width="14%"><%# DataBinder.Eval(Container.DataItem,"Area")%>
</td>
<td width="14%"><%# DataBinder.Eval(Container.DataItem,"Price")%>
</td>
<td width="14%"><%# DataBinder.Eval(Container.DataItem,"BedNum")%>
</td>
<td width="14%"><%# DataBinder.Eval(Container.DataItem,"RPosition")%>
</td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<table cellpadding="0" width="90%">
<tr>
<td colspan="4" height="1" bgcolor="#0033ff"></td>
</tr>
</table>
</SeparatorTemplate>
<FooterTemplate>
<table cellpadding="0" width="90%">
<tr>
<td colspan="4" height="4" bgcolor="#0033ff"></td>
</tr>
</table>
</FooterTemplate>
</asp:repeater></td>
</tr>
<TR>
<td width="50%" height="25">
</td>
<TD align="left"><asp:button id="ShowAll" runat="server" Text="全部显示" BorderStyle="Groove"></asp:button></TD>
</TR>
</TABLE>
<!--END ROOMBUSSINESS MANAGEMENT MODULE-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -