<%@ Page Title="" Language="C#" MasterPageFile="~/SignBox/Site1.Master" AutoEventWireup="true"
    CodeBehind="ExpressSignFailedList.aspx.cs" Inherits="GxHub.Wms.Abroad.Web.SignBox.ExpressSignFailedList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title><%=GetText("电商包裹妥投签收失败列表") %> </title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <yee:PageTitle ID="title" runat="server">
        <ShortCuts>
            <!-- <a type="text/asp" href="ExpressSignFailedDetail.aspx"></a> -->
        </ShortCuts>
    </yee:PageTitle>
    <yee:MessageBox ID="msg" runat="server">
    </yee:MessageBox>
   
    <!--查询版面-->
    <div class="query">
        <table cellpadding="0" cellspacing="0" border="0" >
            <tr>
                <td class="queryLeft">
                    <%=GetText("箱子号") %>：
                </td>
                <td class="queryRigth">
                    <asp:TextBox ID="txtExpressNo" runat="server"></asp:TextBox>
                </td>
                <td colspan="2" >
                    <yee:Button ID="btnQuery" runat="server" OnClick="btnQuery_Click" />
                </td>
            </tr>
        </table>
    </div>
    <asp:Repeater ID="rptMaster" runat="server" OnItemCommand="rptMaster_ItemCommand"
        OnItemDataBound="rptMaster_ItemDataBound">
        <HeaderTemplate>
            <table class="table" border="0" id="table">
                <thead>
                    <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" rowspan="2" colspan="2"><%=GetText("操作")%></td>
                    </tr>
                </thead>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="tbrow" >
                <td class="tbpost" style="text-align:center"><%#Eval("ExpressNo")%></td>
                <td class="tbpost" style="text-align:center"><%#Eval("FailedNumber")%></td>
                <td class="tbpost" style="text-align:center"><%#Eval("FailedStatus")%></td>
                <td class="tbpost" style="text-align:center"><%#Eval("FailedReasons")%></td>
                <td class="tbpost" style="text-align:center"><%#Eval("FailedOn")%></td>
                <td class="tbpost" style="text-align:center"><%#Eval("CreateOn")%></td>
                <td class="tbpost">
                    <asp:HiddenField ID="hfId" runat="server" Value='<%# Eval("UniqueId")%>' />
                    <asp:HiddenField ID="hfTransnationalId" runat="server" Value='<%# Eval("TransnationalId")%>' />
                    <asp:LinkButton ID="lbnDetail" CommandName="Detail" CommandArgument='<%#Eval("UniqueId")%>' Text="详情" runat="server"></asp:LinkButton>
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="tbrowalter">
                <td class="tbpost" style="text-align:center"><%#Eval("ExpressNo")%></td>
                <td class="tbpost" style="text-align:center"><%#Eval("FailedNumber")%></td>
                <td class="tbpost" style="text-align:center"><%#Eval("FailedStatus")%></td>
                <td class="tbpost" style="text-align:center"><%#Eval("FailedReasons")%></td>
                <td class="tbpost" style="text-align:center"><%#Eval("FailedOn")%></td>
                <td class="tbpost" style="text-align:center"><%#Eval("CreateOn")%></td>
                <td class="tbpost">
                    <asp:HiddenField ID="hfId" runat="server" Value='<%# Eval("UniqueId")%>' />
                    <asp:HiddenField ID="hfTransnationalId" runat="server" Value='<%# Eval("TransnationalId")%>' />
                    <asp:LinkButton ID="lbnDetail" CommandName="Detail" CommandArgument='<%#Eval("UniqueId")%>' Text="详情" runat="server"></asp:LinkButton>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    <!--列表-->
    <yee:Pager ID="Pager1" runat="server" PageSize="10" PagerType="1" OnPageIndex_Changed="Pager1_PageIndex_Changed" />
</asp:Content>
