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

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>评价订单明细
    </title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <yee:PageTitle ID="ptTitle" runat="server">
        <ShortCuts>
            <asp:HyperLink ID="hlReport" runat="server" NavigateUrl="GetTransnationalOrderCommentRecord.aspx">评价统计</asp:HyperLink>
        </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>
                    <asp:DropDownList ID="ddlWarehouse" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlWarehouse_SelectedIndexChanged"></asp:DropDownList>
                </td>
                <td>
                    <%=GetText("库区") %>
                </td>
                <td>
                    <asp:RadioButtonList ID="rblStorage" runat="server" RepeatDirection="Horizontal"></asp:RadioButtonList>
                </td>
                <td>
                    <%=GetText("配送类型") %>
                </td>
                <td colspan="2">

                    <asp:RadioButtonList ID="rblPickUpType" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="0" Selected="True" Text="请选择"></asp:ListItem>
                        <asp:ListItem Value="1" Text="配送"></asp:ListItem>
                        <asp:ListItem Value="5" Text="自提"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                <td>
                    <%=GetText("单号") %>
                </td>
                <td>
                    <asp:TextBox ID="txtOrderNo" runat="server"></asp:TextBox>
                </td>
                <td>
                    <yee:Button ID="btnSearch" runat="server" CssClass="button" OnClick="btnSearch_Click" />
                </td>
            </tr>
            <tr>
                <td>
                    <%=GetText("日期") %>
                </td>
                <td>
                    <yee:DatePicker ID="dtFrom" runat="server" IsRequired="true" />
                    -<yee:DatePicker ID="dtTo" runat="server" IsRequired="false" />
                </td>
                <td>
                    <%=GetText("星级") %>
                </td>
                <td colspan="4">
                    <asp:RadioButtonList ID="rblRat" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="0" Selected="True" Text="全部"></asp:ListItem>
                        <asp:ListItem Value="1" Text="1星"></asp:ListItem>
                        <asp:ListItem Value="2" Text="2星"></asp:ListItem>
                        <asp:ListItem Value="3" Text="3星"></asp:ListItem>
                        <asp:ListItem Value="4" Text="4星"></asp:ListItem>
                        <asp:ListItem Value="5" Text="5星"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                <td>
                    <%=GetText("分数") %>
                </td>
                <td>
                    <asp:TextBox ID="txtStartAmount" runat="server" Width="80px"></asp:TextBox>
                    -
                     <asp:TextBox ID="txtEndAmount" runat="server" Width="80px"></asp:TextBox>
                </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>
                    <td class="tbheader">
                        <%=GetText("分数") %>
                    </td>
                    <td class="tbheader">
                        <%=GetText("摘要") %>
                    </td>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="tbrow">

                <td class="tbpost">
                    <%#Eval("WareHouseName") %>
                </td>
                <td class="tbpost">
                    <%#Eval("StorageCode") %>
                </td>
                <td class="tbpost">
                    <%# Eval("CustomerCode")%>
                </td>
                <td class="tbpost">
                    <%# Eval("OrderNo")%>
                </td>
                <td class="tbpost">
                    <%# Eval("PickUpType")%>
                </td>

                <td class="tbpost">
                    <%# Eval("CreatedOn")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CommentRat")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CommentPoint")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CommentName")%>
                </td>
            </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr class="tbrowalter">
                <td class="tbpost">
                    <%#Eval("WareHouseName") %>
                </td>
                <td class="tbpost">
                    <%#Eval("StorageCode") %>
                </td>
                <td class="tbpost">
                    <%# Eval("CustomerCode")%>
                </td>
                <td class="tbpost">
                    <%# Eval("OrderNo")%>
                </td>
                <td class="tbpost">
                    <%# Eval("PickUpType")%>
                </td>

                <td class="tbpost">
                    <%# Eval("CreatedOn")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CommentRat")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CommentPoint")%>
                </td>
                <td class="tbpost">
                    <%# Eval("CommentName")%>
                </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>