<%@ page language="C#" autoeventwireup="true" inherits="Admin_GoodsManagement_OOS, ShopWe" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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 runat="server">
    <title>到货通知</title>
    <link href="../css/my.css" rel="stylesheet" type="text/css" />
    <link href="../JS/TableSort/tablesort.css" rel="stylesheet" type="text/css" />
    <link href="../css/volti.css" rel="stylesheet" type="text/css" />
    <link href="../Themes/Default/Plugin/ThickBox/thickbox.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../css/admin.js"></script>

    <script type="text/javascript" src="../Themes/Default/JS/jquery-1.3.2.min.js"></script>

    <script type="text/javascript" src="../Themes/Default/Plugin/ToolTip/Word.js"></script>

    <script type="text/javascript" src="../Themes/Default/Plugin/ThickBox/thickbox.js"></script>

    <style type="text/css">

#tooltip{
	position:absolute;
	border:1px dashed #666666;
	background:#f7f5d1;
	padding:8px;
	color:#333;
	display:none;
	}	
.tooltip{
	color:#21759B;
	text-decoration: none;
	}	

    </style>
</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="name">
            <tr>
                <td>
                    <h4>
                        <img src="../css/images/help.png" width="10" height="10" alt="帮助" />
                        在这删除商品缺货：</h4>
                    <asp:Button ID="DeleteSelect" runat="server" Text="删除所选" OnClick="DeleteSelect_Click"
                        CssClass="butt_tle" Height="22px" Width="70px" />
                    <h4>
                        <img src="../css/images/help.png" width="10" height="10" alt="帮助" />
                        回复内容：</h4>
                    <asp:TextBox ID="TextBoxRemark" runat="server" Width="150px" Height="20px" CssClass="input"
                        Text="已经处理"></asp:TextBox>
                    <asp:Button ID="UpdateSelect" runat="server" Text="处理选中的缺货登记" OnClick="UpdateSelect_Click"
                        CssClass="butt_tle" Height="22px" Width="180px" />
                </td>
            </tr>
        </table>
        <div id="all">
            <table width="100%" cellpadding="0" cellspacing="0" id="bk">
                <thead>
                    <tr>
                        <th style="width: 30px">
                            <input id="ChkAll" type="checkbox" onclick="Check(this,'CheckBoxSelect','RepeaterTable')" />
                        </th>
                        <th style="width: 180px">
                            商品名称
                        </th>
                        <th style="width: 80px">
                            订购数量
                        </th>
                        <th style="width: 80px">
                            查看详细</th>
                        <th style="width: 80px">
                            登记用户
                        </th>
                        <th>
                            状态
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <asp:Repeater ID="RepeaterTable" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="CheckBoxSelect" runat="server" ToolTip='<%#Eval("ID")%>' BorderStyle="None"
                                        BorderWidth="0px" />
                                </td>
                                <td>
                                    <a href="../../Product.aspx?id=<%# Eval("GoodsID") %>" target="_blank" class="blue">
                                        <%# Eval("GoodsName")%>
                                    </a>
                                </td>
                                <td>
                                    <%#Eval("BuyNumber")%>
                                </td>
                                <td>
                                    <a href="#TB_inline?height=150&amp;width=400&amp;inlineId=<%#Eval("ID").ToString() %>"
                                        class="thickbox">[查看]</a>
                                    <div style="display: none" id="<%#Eval("ID").ToString()%>">
                                        <%# GetOOSInfo(int.Parse(Eval("ID").ToString()))%>
                                    </div>
                                </td>
                                <td>
                                    <%# GetUserName(Eval("UserID").ToString()) %>
                                </td>
                                <td class="ys_1">
                                    <%#Eval("State")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
            <div class="k_all3">
                <div id="bk_line">
                    <div class="txte">
                         <img src="../Themes/Default/Images/bj.png" /> <asp:Literal ID="CountItem" runat="server" Text="0"></asp:Literal>
                    </div>
                    <webdiyer:AspNetPager ID="AspNetPagerItem" runat="server" CssClass="yahoo2" PageSize="15"
                        OnPageChanged="AspNetPagerItem_PageChanged" AlwaysShow="True">
                    </webdiyer:AspNetPager>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
