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

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <style type="text/css">
        .style1
        {
            width: 828px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" 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="width: 100%; height: 25px;">
        <div style="float: left; width: 80%; 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" />
            &nbsp; &nbsp; &nbsp;
            <asp:Button ID="Button2" runat="server" Text="增 加" Width="67px" OnClick="Button2_Click"
                BackColor="#CCCCCC" />
        </div>
        <div style="float: left; width: 20%;">
        </div>
    </div>
    <center>
        <%--<div style="height: 470px;width: 100%; position: relative; margin-top: 0px; top: -1px;left: 0px;">--%>
        <div style="width: 100%;">
            <table border="1" width="100%">
                <tr style="background-color: #999999; width: 100%;">
                    <th style="width: 10%">
                        出库单号
                    </th>
                    <th style="width: 10%">
                        出库类型
                    </th>
                    <th style="width: 10%">
                        操作人
                    </th>
                    <th style="width: 10%">
                        出库状态
                    </th>
                    <th style="width: 10%">
                        操作日期
                    </th>
                    <th style="width: 10%">
                        审核
                    </th>
                    <th style="width: 10%">
                        查看具体
                    </th>
                </tr>
                <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand">
                    <ItemTemplate>
                        <tr onmousemove="this.style.backgroundColor='#0099CC'" onmouseout="this.style.backgroundColor='white'"
                            style="width: 100%;">
                            <td style="width: 10%">
                                <%#DataBinder.Eval(Container.DataItem, "ckdh")%>
                            </td>
                            <td style="width: 10%">
                                <%#DataBinder.Eval(Container.DataItem, "Storagename")%>
                            </td>
                            <td style="width: 10%">
                                <%#DataBinder.Eval(Container.DataItem, "PersonnelName")%>
                            </td>
                            <td style="width: 10%">
                                <%#Eval("ckbz").ToString() == "0" ? "未审核" : "已审核"%>
                            </td>
                            <td style="width: 10%">
                                <%#Eval("Date", "{0:yyyy-MM-dd}")%>
                            </td>
                            <td style="width: 10%">
                                <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Delete" CommandArgument='<%# Eval("ckbz") %>'><%#Eval("ckbz").ToString() == "0" ? "审核" : "已审核"%></asp:LinkButton>
                            </td>
                            <td style="width: 10%">
                                <asp:LinkButton ID="LinkButton2" runat="server" CommandName="detaileduser" CommandArgument='<%# Eval("ckbz") %>'>详细</asp:LinkButton>
                                <asp:HiddenField ID="HiddenField1" runat="server" Value='<%#DataBinder.Eval(Container.DataItem, "ckdh")%>' />
                                <asp:HiddenField ID="HiddenField2" runat="server" Value='<%#DataBinder.Eval(Container.DataItem, "ckygid")%>' />
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
        </div>
    </center>
    <div style="width: 100%; height: 29px;">
        <center>
            <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="首 页" Height="20px" Width="56px" OnClick="Button4_Click"
                BackColor="#CCCCCC" />
            <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="末 页" Height="20px" Width="56px" OnClick="Button8_Click"
                BackColor="#CCCCCC" />
        </center>
    </div>
</asp:Content>
