<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="CustomerFreightDetail.aspx.cs" Inherits="GxHub.Wms.Abroad.Web.Freight.CustomerFreightDetail" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style type="text/css">
        .tr {
            width: 595px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:Repeater ID="rptList" runat="server" OnItemDataBound="rptList_ItemDataBound">
                <HeaderTemplate>
                    <table border="0" cellpadding="0" cellspacing="0" class="" width="595px">
                        <tr>
                            <td class="tbheader">运送方式
                            </td>
                            <td class="tbheader">按重量/体积运送(KG/M³)
                            </td>
                            <td class="tbheader">是否牌子
                            </td>
                            <%-- <td class="tbheader">区间价格
                    </td>--%>
                            <%--     <td class="tbheader">编辑
                    </td>
                    <td class="tbheader">删除
                    </td>--%>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr class="tbrow">
                        <td class="tbpost">
                            <%#Eval("TransnationalFreightMode.CnName")%>
                        </td>
                        <td class="tbpost">
                            <%#Eval("FreightCalculateMode.CnName")%>
                        </td>
                        <td class="tbpost">
                            <asp:Literal ID="ltrIsBrand" runat="server"></asp:Literal>
                        </td>
                        <%--  <td class="tbpost">
                    <asp:HyperLink ID="hlkDetails" runat="server"></asp:HyperLink>
                </td>--%>
                        <%-- <td class="tbpost">
                    <asp:LinkButton ID="lbnUpdate" runat="server" CommandArgument='<%#Eval("priceClassId") %>'
                        CommandName="edit">编辑</asp:LinkButton>
                </td>
                <td class="tbpost">
                    <asp:LinkButton ID="lbnDelete" runat="server" CommandArgument='<%#Eval("priceClassId") %>'
                        CommandName="delete" OnClientClick='return confirm("确认删除吗")'>删除</asp:LinkButton>
                </td>--%>
                    </tr>
                    <tr>
                        <td colspan="4" class="tbpost">
                            <asp:Repeater ID="rptpriceList" runat="server">
                                <HeaderTemplate>
                                    <table cellpadding="0" cellspacing="0" border="0" class="" width="595px">
                                        <thead>
                                            <tr>
                                                <td class="tbheader">起始数</td>
                                                <td class="tbheader">终止数</td>
                                                <td class="tbheader">币种</td>
                                                <td class="tbheader">价格</td>
                                            </tr>
                                        </thead>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr>
                                        <td class="tbpost">
                                            <%#Eval("AmountStart")%>
                                        </td>
                                        <td class="tbpost">
                                            <%#Eval("AmountEnd")%>
                                        </td>
                                        <td class="tbpost">
                                            <%#Eval("CurrencyCode")%>
                                        </td>
                                        <td class="tbpost">
                                            <%#Eval("Price")%>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                                <AlternatingItemTemplate>
                                    <tr class="tbrowalter" style="width: 595px">
                                        <td class="tbpost">
                                            <%#Eval("AmountStart")%>
                                        </td>
                                        <td class="tbpost">
                                            <%#Eval("AmountEnd")%>
                                        </td>
                                        <td class="tbpost">
                                            <%#Eval("CurrencyCode")%>
                                        </td>
                                        <td class="tbpost">
                                            <%#Eval("Price")%>
                                        </td>
                                    </tr>
                                </AlternatingItemTemplate>
                                <FooterTemplate></table></FooterTemplate>
                            </asp:Repeater>
                        </td>
                    </tr>
                </ItemTemplate>
                <AlternatingItemTemplate>
                    <tr class="tbrowalter">
                        <td class="tbpost">
                            <%#Eval("TransnationalFreightMode.CnName")%>
                        </td>
                        <td class="tbpost">
                            <%#Eval("FreightCalculateMode.CnName")%>
                        </td>
                        <td class="tbpost">
                            <asp:Literal ID="ltrIsBrand" runat="server"></asp:Literal>
                        </td>
                        <%--   <td class="tbpost">
                    <asp:HyperLink ID="hlkDetails" runat="server"></asp:HyperLink>
                </td>--%>
                        <%--  <td class="tbpost">
                    <asp:LinkButton ID="lbnUpdate" runat="server" CommandArgument='<%#Eval("priceClassId") %>'
                        CommandName="edit">编辑</asp:LinkButton>
                </td>
                <td class="tbpost">
                    <asp:LinkButton ID="lbnDelete" runat="server" CommandArgument='<%#Eval("priceClassId") %>'
                        CommandName="delete" OnClientClick='return confirm("确认删除吗")'>删除</asp:LinkButton>
                </td>--%>
                    </tr>
                    <tr style="width: 595px">
                        <td colspan="6" class="tbpost">
                            <asp:Repeater ID="rptpriceList" runat="server">
                                <HeaderTemplate>
                                    <table cellpadding="0" cellspacing="0" border="0" class="" width="595px" id="table">
                                        <tr>
                                            <td class="tbheader">起始数</td>
                                            <td class="tbheader">终止数</td>
                                            <td class="tbheader">币种</td>
                                            <td class="tbheader">价格</td>
                                        </tr>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr>
                                        <td class="tbpost">
                                            <%#Eval("AmountStart")%>
                                        </td>
                                        <td class="tbpost">
                                            <%#Eval("AmountEnd")%>
                                        </td>
                                        <td class="tbpost">
                                            <%#Eval("CurrencyCode")%>
                                        </td>
                                        <td class="tbpost">
                                            <%#Eval("Price")%>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                                <AlternatingItemTemplate>
                                    <tr class="tbrowalter" style="width: 595px">
                                        <td class="tbpost">
                                            <%#Eval("AmountStart")%>
                                        </td>
                                        <td class="tbpost">
                                            <%#Eval("AmountEnd")%>
                                        </td>
                                        <td class="tbpost">
                                            <%#Eval("CurrencyCode")%>
                                        </td>
                                        <td class="tbpost">
                                            <%#Eval("Price")%>
                                        </td>
                                    </tr>
                                </AlternatingItemTemplate>
                                <FooterTemplate></table></FooterTemplate>
                            </asp:Repeater>
                        </td>
                    </tr>
                </AlternatingItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>

        </div>
            <script type="text/javascript">
                $(
                    function () {
                        if ($("#table") != null) {
                            $("#table tbody tr").mouseover(function () {
                                $(this).find("td").css("background-color", "yellow");
                            }).mouseout(function () {
                                $(this).find("td").removeAttr("style");
                            }
                                )
                        }
                    }
                );
    </script>
    </form>
</body>
</html>



