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

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>
        <%=GetText("审核列表") %>
    </title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <yee:PageTitle ID="pgTitle" runat="server"></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="txtSerialNo" runat="server"></asp:TextBox>
                </td>

                <td class="queryLeft">
                    <%=GetText("类型") %>：
                </td>
                <td class="queryRigth">
                    <yee:DictionaryDropDownList1 ID="ddlType" runat="server" TypeId="SettingType"></yee:DictionaryDropDownList1>
                </td>
                <td class="queryLeft">
                    <%=GetText("审核状态") %>：
                </td>
                <td class="queryRigth">

                    <yee:DictionaryDropDownList1 ID="ddlStatu" runat="server" TypeId="SettingAuditStatus" IsShowAllAtFirst="true"></yee:DictionaryDropDownList1>
                </td>
                <td class="queryLeft">
                    <%=GetText("仓储中心") %>：
                </td>
                <td class="queryRigth">
                    <yee:UserWarehousesDropDownList ID="ddlWarehouse" runat="server" WarehouseType="金边仓" IsShowAllAtFirst="true">
                    </yee:UserWarehousesDropDownList>
                </td>
                <td class="queryLeft">
                    <yee:Button ID="btnQuery" runat="server" CssClass="button" OnClick="btnQuery_Click" />
                </td>
            </tr>
            <tr>
                <td class="queryLeft">
                    <%=GetText("申请日期") %>：
                </td>
                <td class="queryRigth">
                    <yee:DatePicker ID="dpFrom" runat="server" CssClass="input-small" IsRequired="true" />
                    -
                    <yee:DatePicker ID="dpTo" runat="server" CssClass="input-small" IsRequired="false" />
                </td>
                <td class="queryLeft">
                    <%=GetText("国内仓储") %>：
                </td>
                <td class="queryRigth">
                    <yee:UserWarehousesDropDownList ID="ddlChinaWare" runat="server" WarehouseType="总仓" IsShowAllAtFirst="true">
                    </yee:UserWarehousesDropDownList>
                </td>
            </tr>
        </table>
    </div>
    <asp:Repeater ID="rptMaster" runat="server" OnItemCommand="rptMaster_ItemCommand"
        OnItemDataBound="rptMaster_ItemDataBound">
        <HeaderTemplate>
            <table class="table" cellpadding="0" cellspacing="0" border="0">
                <thead>
                    <tr>

                        <td class="tbheader" rowspan="2">
                            <%=GetText("流水号") %>
                        </td>
                        <td class="tbheader" colspan="2">
                            <%=GetText("重量") %>
                        </td>
                        <td class="tbheader" colspan="2">
                            <%=GetText("体积") %>
                        </td>
                        <td class="tbheader" colspan="2">
                            <%=GetText("尺寸") %>
                        </td>
                        <td class="tbheader" rowspan="2">
                            <%=GetText("申请") %>
                        </td>
                        <td class="tbheader" rowspan="2">
                            <%=GetText("仓库确认") %>
                        </td>
                        <td class="tbheader" rowspan="2">
                            <%=GetText("审核确认") %>
                        </td>

                        <td class="tbheader" rowspan="2">
                            <%=GetText("状态") %>
                        </td>
                        <td class="tbheader" rowspan="2">
                            <%=GetText("操作") %>
                        </td>
                    </tr>
                    <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>
                    </tr>
                </thead>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="tbrow">
                <td class="tbpost" style="text-align: center">
                    <%#Eval("SerialNo") %>
                    <br />
                    <%#Eval("ChinaWarehouse") %>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("LastWeight")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("Weight")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("LastVolume")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("Volume")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("LastSize")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("Size")%>
                </td>

                <td class="tbpost" style="text-align: center">
                    <%#Eval("CreatedByName")%>
                    <br />

                    <%#Eval("CreatedOn") %>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("CheckedByName")%>
                    <br />

                    <%#Eval("CheckedOn") %>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("AuditByName")%>
                    <br />
                    <%#Eval("AuditOn") %>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("AuditStatus")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <asp:LinkButton ID="lbnDetail" runat="server" CommandName="detail" CommandArgument='<%#Eval("UniqueId") %>'><%=GetText("详情") %></asp:LinkButton>
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="tbrowalter">
                <td class="tbpost" style="text-align: center">
                    <%#Eval("SerialNo") %>
                    <br />
                    <%#Eval("ChinaWarehouse") %>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("LastWeight")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("Weight")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("LastVolume")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("Volume")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("LastSize")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("Size")%>
                </td>

                <td class="tbpost" style="text-align: center">
                    <%#Eval("CreatedByName")%>
                    <br />

                    <%#Eval("CreatedOn") %>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("CheckedByName")%>
                    <br />

                    <%#Eval("CheckedOn") %>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("AuditByName")%>
                    <br />
                    <%#Eval("AuditOn") %>
                </td>
                <td class="tbpost" style="text-align: center">
                    <%#Eval("AuditStatus")%>
                </td>
                <td class="tbpost" style="text-align: center">
                    <asp:LinkButton ID="lbnDetail" runat="server" CommandName="detail" CommandArgument='<%#Eval("UniqueId") %>'><%=GetText("详情") %></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>