<%@ Page Language="C#" MasterPageFile="MasterPage.Master" AutoEventWireup="true" CodeBehind="BookingProduct.aspx.cs" Inherits="SocoShop.Web.Admin.BookingProduct" %>
<%@ Register Namespace="SkyCES.EntLib" Assembly="SkyCES.EntLib" TagPrefix="SkyCES"%>
<%@ Import Namespace="SocoShop.Common" %>
<%@ Import Namespace="SocoShop.Business" %>
<asp:Content ID="MasterContent" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
<div class="position"><img src="/Admin/Style/Images/PositionIcon.png"  alt=""/>缺货登记列表</div>	
<ul class="search">
    <li>状态：<asp:DropDownList ID="IsHandler" runat="server"><asp:ListItem Value="">所有</asp:ListItem><asp:ListItem Value="0">未处理</asp:ListItem><asp:ListItem Value="1">已处理</asp:ListItem></asp:DropDownList> 
        联系人：<SkyCES:TextBox CssClass="input" ID="RelationUser" runat="server" />
		产品名称：<SkyCES:TextBox CssClass="input" ID="ProductName" runat="server" Width="150px" />   
		<asp:Button CssClass="button" ID="SearchButton" Text=" 搜 索 " runat="server"  OnClick="SearchButton_Click" /></li>
</ul>
<ul class="listHead">
	<li style="width:5%">ID</li>
	<li style="width:30%; text-align:left;text-indent:8px;">商品名称</li>
	<li style="width:10%">联系人</li>       
	<li style="width:10%">电话</li>       
	<li style="width:15%">Email</li> 
	<li style="width:15%">登记时间</li>       
	<li style="width:5%">处理</li>       
	<li style="width:5%">管理</li>       
	<li style="width:5%">选择</li>        
</ul>
<asp:Repeater ID="RecordList" runat="server">
	<ItemTemplate>	     
        	<ul class="listMain" onmousemove="ChangeColor(this,'#FFFDD7')" onmouseout="ChangeColor(this,'#FFF')">
			<li style="width:5%"><%# Eval("ID") %></li>
			<li style="width:30%; text-align:left;text-indent:8px;"><%# Eval("ProductName")%></li>
			<li style="width:10%"><%# Eval("RelationUser")%></li>       
	        <li style="width:10%"><%# Eval("Tel")%></li>       
	        <li style="width:15%"><%# Eval("Email")%></li> 
	        <li style="width:15%"><%# Eval("BookingDate","{0:yyyy-MM-dd}")%></li>       
	        <li style="width:5%"><%#ShopCommon.GetBoolString(Eval("IsHandler"))%></li> 
			<li style="width:5%;"><a href="javascript:pop('BookingProductAdd.aspx?ID=<%# Eval("ID") %>',600,480,'缺货登记查看','BookingProductAdd<%# Eval("ID") %>')"><img src="Style/Images/edit.gif" alt="查看" title="查看" /></a></li>
			<li style="width:5%"><input type="checkbox" name="SelectID" value="<%# Eval("ID") %>" /></li> 	        
		</ul>
        </ItemTemplate>
</asp:Repeater>
<div class="listPage"><SkyCES:CommonPager ID="MyPager" runat="server" /></div>
<div class="action">
       <asp:Button CssClass="button" ID="DeleteButton" Text=" 删 除 " OnClientClick="return checkSelect()" runat="server"  OnClick="DeleteButton_Click"/>&nbsp;<input type="checkbox" name="All" onclick="selectAll(this)" />全选/取消
</div>
</asp:Content>
