<%@ Page Title="" Language="C#" MasterPageFile="~/Package/package.Master" AutoEventWireup="true" CodeBehind="InterceptPackageList.aspx.cs" Inherits="GxHub.Wms.Abroad.Web.Package.InterceptPackageList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      <yee:PageTitle ID="ptTitle" runat="server">
        <ShortCuts>
            <a href="InterceptPackageEdit.aspx" title="新增拦截包裹">新增拦截包裹</a>
            
        </ShortCuts>
    </yee:PageTitle>
    <yee:MessageBox ID="msg" runat="server">
    </yee:MessageBox>

    <div class="query">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr> 
                <td>
                    <%=GetText("日期") %>
                </td>
                <td colspan="3">
                    <yee:DatePicker ID="dtFrom" runat="server" IsRequired="true" />
                    -<yee:DatePicker ID="dtTo" runat="server" IsRequired="false" />
                </td> 
                <td>
                    <%=GetText("快递单号") %>
                </td>
                <td>
                    <asp:TextBox ID="txtExpressNo" runat="server"  ></asp:TextBox>
                </td>
                <td>
                    <%=GetText("是否锁定") %>
                </td>
                <td>
                    <asp:RadioButtonList ID="rblIsLock" runat="server" RepeatDirection="Horizontal" >
                        <asp:ListItem  Value="0" Text="全部" ></asp:ListItem>
                        <asp:ListItem  Value="1" Text="锁定" Selected="True" ></asp:ListItem>
                        <asp:ListItem  Value="2" Text="已释放" ></asp:ListItem>
                    </asp:RadioButtonList>
                </td> 
                 
                <td >
                    <yee:Button ID="btnSearch" runat="server" CssClass="button" OnClick="btnSearch_Click" />
                </td>
            </tr>
         
        </table>
    </div>
    <asp:Repeater ID="rptList" runat="server" OnItemCommand="rptList_ItemCommand" OnItemDataBound="rptList_ItemDataBound">
        <HeaderTemplate>
            <table cellpadding="0" class="table" cellspacing="0" border="0" id="table2" style="text-align: center;">
                <tr>
                    <td class="tbheader">
                        <%=GetText("快递单号") %>
                    </td> 
                     <td class="tbheader">
                        <%=GetText("箱子号") %>
                    </td> 
                    <td class="tbheader">
                        <%=GetText("发起人") %>
                    </td>
                    <td class="tbheader">
                        <%=GetText("发起时间") %>
                    </td>
                    <td class="tbheader">
                        <%=GetText("是否锁定") %>
                    </td>
                     <td class="tbheader">
                        <%=GetText("备注") %>
                    </td> 
                    <td class="tbheader">
                        <%=GetText("操作") %>
                    </td>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="tbrow">
                <td class="tbpost">
                    <%# Eval("ExpressNo")%>
                </td> 
                 <td class="tbpost">
                    <%# Eval("BoxSerialNo")%>
                </td> 
                <td class="tbpost">
                    <%# Eval("CreatedByName")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CreatedOn")%>
                </td>
                <td class="tbpost">
                   <asp:Literal ID="litIsLock" runat="server"></asp:Literal>
                </td>
                 <td class="tbpost">
                    <%# Eval("Remark")%>
                </td> 
                <td class="tbpost">
                    <asp:LinkButton ID="lbnRelease" runat="server" CommandArgument='<%#Eval("UniqueId") %>' CommandName="release" Text="释放"></asp:LinkButton>
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="tbrowalter">
               <td class="tbpost">
                    <%# Eval("ExpressNo")%>
                </td> 
                  <td class="tbpost">
                    <%# Eval("BoxSerialNo")%>
                </td> 
                <td class="tbpost">
                    <%# Eval("CreatedByName")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CreatedOn")%>
                </td>
                <td class="tbpost">
                    <asp:Literal ID="litIsLock" runat="server"></asp:Literal>
                </td>
                 <td class="tbpost">
                    <%# Eval("Remark")%>
                </td> 
                <td class="tbpost">
                    <asp:LinkButton ID="lbnRelease" runat="server" CommandArgument='<%#Eval("UniqueId") %>' CommandName="release" Text="释放"></asp:LinkButton>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>

    <yee:Pager ID="Pager1" runat="server" PageSize="20" PagerType="1" OnPageIndex_Changed="Pager1_PageIndex_Changed"
        PageIndex="0" />
</asp:Content>
