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

<!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>
    <script type="text/javascript" src="../Scripts/jquery-1.6.3.js"></script>
    <script type="text/javascript">

        function Set_Coupon(obj)
        {
             $(".rblCoupon ").each(function () {
                 $(this).attr("checked", false);
             });
             $(obj).attr("checked", true);

        }

        $(function () {
            var dd = $("#ui-dialog-title-iframeEdit").siblings().addClass("display_none");

        });

    </script>
    <style type="text/css">
        .ui-dialog-titlebar-close .ui-corner-all {

            display:none;
        }
        .display_none {
        
            display:none;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div> 客户余额：<asp:Label ID="labBalance" runat="server" ></asp:Label>  &nbsp;&nbsp;&nbsp;运费总金额：<asp:Label ID="labTotalFreight" runat="server" ></asp:Label>  &nbsp;&nbsp;&nbsp;</div>
        <div>
            <div style="width:400px;float:left">
                <yee:PageTitle ID="pgTitleCoupon" runat="server" Title="优惠券" ></yee:PageTitle>
                <asp:Repeater ID="rptCounpe" runat="server">
                    <HeaderTemplate>
                        <table  width="400px" cellpadding="0" cellspacing="0" border="1">
                            <tr>
                                
                                <td class="tbheader" style="width:20px">
                                   
                                </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">
                                <input type="radio" class="rblCoupon" runat="server" id="rblCoupon" value='<%#Eval("UniqueId") %>' onclick="Set_Coupon(this)" />
                                <asp:HiddenField ID="hfUniqueId" runat="server" Value='<%#Eval("UniqueId") %>' />
                            </td>
                            <td class="tbpost">
                                <%#Eval("SerialNumber") %>
                            </td>
                            <td class="tbpost">
                                <%#Eval("DiscountAmount") %>
                            </td>
                            <td class="tbpost">
                                <%#Eval("EffeectiveDate") %>
                            </td>
                            <td class="tbpost">
                                <%#Eval("ExpiredOn") %>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
                 <yee:Pager ID="Pager1" runat="server" PageSize="10" PagerType="1" OnPageIndex_Changed="Pager1_PageIndex_Changed" />
            </div>
            <div  style="width:550px; float:right">
                <yee:PageTitle ID="pgTitleBox" runat="server" Title="箱子列表"></yee:PageTitle>
                <asp:Repeater ID="rptBoxList" runat="server">
                    <HeaderTemplate>
                        <table  width="500px" cellpadding="0" cellspacing="0" border="1">
                            <tr>
                                <td class="tbheader">
                                    箱子流水号
                                </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("BoxSerialNo") %>
                            </td>
                            <td class="tbpost">
                                 <%#Eval("CustomerCode") %>
                            </td>
                            <td class="tbpost">
                                 <%#Eval("CTWOrderNo") %>
                            </td>
                            <td class="tbpost">
                                 <%#Eval("ShouldIncomeCN2THFreightAmount") %>
                            </td>
                            <td class="tbpost">
                                 <%#Eval("ShouldIncomeTH2THFreightAmount") %>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
