<%@ Page Language="C#" MasterPageFile="~/Master/officeMaster.master" AutoEventWireup="true"
    CodeFile="goodrkcl.aspx.cs" Inherits="goods_goodrkcl" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>

    </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="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%; text-align: right;">
            
           
        </div>
    </div>

    <center>
    <div style="width: 100%; position: relative; margin-top: 0px; top: 0px;left: 0px;">
        <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%">
                    审核&nbsp;
                </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, "Rkdh")%>
                        </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("Rkbz").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("Rkbz") %>'><%#Eval("Rkbz").ToString() == "0" ? "审核" : "已审核"%></asp:LinkButton>
                          
                        </td>
                           <td style=" width:10%">            
                      <asp:LinkButton ID="LinkButton2" runat="server" CommandName="detaileduser" CommandArgument='<%# Eval("Rkbz") %>'>详细</asp:LinkButton>
                          <asp:HiddenField ID="HiddenField1" runat="server" Value='<%#DataBinder.Eval(Container.DataItem, "Rkdh")%>' />             
                     
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
        </div>
        </center>
   
    <div style="width: 100%; height: 29px;">
            <center style="height: 129px">
                  <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>
