<%@ Page Title="" Language="C#" MasterPageFile="~/Master/officeMaster.master" AutoEventWireup="true"
    CodeFile="goodsckcx.aspx.cs" Inherits="goods_goodsckcx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <%--<div style="background-image: url('../b2c/images/win_top.png'); font-weight: bold;
        height: 27px; line-height: 30px;">
        <center>
            出库查询</center>
    </div>--%>
    <table class="usertableborder" cellspacing="1" cellpadding="3" width="100%" align="center"
        border="0">
        <tr>
            <th>
                出库查询
            </th>
        </tr>
    </table>
    <div style="float: left; width: 100%; text-align: left;">
        &nbsp; &nbsp;
        <asp:Label ID="Label1" runat="server" Text="出库日期："></asp:Label>
        <asp:TextBox ID="TextBox1" runat="server" onfocus="WdatePicker()" Width="94px"></asp:TextBox>
        <asp:Label ID="Label2" runat="server" Text="至"></asp:Label>
        <asp:TextBox ID="TextBox2" runat="server" onfocus="WdatePicker()" Width="94px"></asp:TextBox>
        &nbsp;
        <asp:Button ID="Btncx" runat="server" Text="查 询" Width="67px" OnClick="Btncx_Click"
            BackColor="#CCCCCC" />
    </div>
    <div style="width: 100%; position: relative; margin-top: 0px; top: -1px; left: 0px;">
        <table border="1px" style="width: 100%;">
            <tr align="center">
                <th>
                    物品编码
                </th>
                <th>
                    物品名称
                </th>
                <th>
                    物品价格
                </th>
                <th>
                    出库数量
                </th>
                <th>
                    查看明细
                </th>
            </tr>
            <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand">
                <ItemTemplate>
                    <tr onmousemove="this.style.backgroundColor='#0099CC'" onmouseout="this.style.backgroundColor='white'"
                        align="center">
                        <td>
                            <%#DataBinder.Eval(Container.DataItem, "Gid")%>
                        </td>
                        <td>
                            <%#DataBinder.Eval(Container.DataItem, "GoodsName")%>
                        </td>
                        <td>
                            <%#DataBinder.Eval(Container.DataItem, "Goodprice")%>
                        </td>
                        <td>
                            <%#DataBinder.Eval(Container.DataItem, "cksl")%>
                        </td>
                        <td>
                            <asp:LinkButton ID="LinkButton1" runat="server" CommandName="cxmx" CommandArgument='<%# Eval("Gid") %>'>查看</asp:LinkButton>
                            <asp:HiddenField ID="HiddenField1" runat="server" Value='<%#DataBinder.Eval(Container.DataItem, "GoodsName")%>' />
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </div>
    <div style="width: 100%; height: 29px;">
        <center style="height: 34px">
            <asp:Label ID="Label3" runat="server" Text="当前"></asp:Label>
            <asp:Label ID="lblCurrentPage" runat="server" Text="1"></asp:Label>
            <asp:Label ID="Label5" runat="server" Text="/"></asp:Label>
            <asp:Label ID="lblPageCount" runat="server" Text="X"></asp:Label>
            <asp:Label ID="Label4" runat="server" Text="页"></asp:Label>
            <asp:Button ID="Button5" runat="server" Text="首 页" BackColor="#CCCCCC" Height="20px"
                Width="56px" OnClick="Button4_Click" />
            <asp:Button ID="Button6" runat="server" Text="上 页" Height="20px" Width="56px" OnClick="Button6_Click"
                BackColor="#CCCCCC" />
            <asp:Button ID="Button7" runat="server" Text="下 页" Height="20px" Width="56px" OnClick="Button7_Click"
                BackColor="#CCCCCC" />
            <asp:Button ID="Button8" runat="server" Text="末 页" BackColor="#CCCCCC" Height="20px"
                Width="56px" OnClick="Button8_Click" />
        </center>
    </div>
</asp:Content>
