<%@ page language="C#" autoeventwireup="true" inherits="ECMe_Order_OrderInfo, ECMe_Deploy" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!-- Put IE into quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>订单详细</title>
    <link href="../CSS/Admin/CSS/ECMe.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/body0.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/AdminIndex.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/volti.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../JS/Common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="header">
        <div class="ajbutton">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td style="width: 400px">
                        <asp:Button ID="BPayment" OnClientClick="ShowHide('con_two_1');return false;" runat="server"
                            Text="收款"  CssClass="but_1"/>
                        <asp:Button ID="BDistribution" OnClick="BDistribution_Click" runat="server" Text="配货" CssClass="but_1"/>
                        <asp:Button ID="BSendProduct" OnClientClick="ShowHide('con_two_2');return false;"
                            runat="server" Text="发货" CssClass="but_1"/>
                        <asp:Button ID="BComplete" runat="server" OnClick="BComplete_Click" OnClientClick="return confirm('订单完成后就不能对此订单进行任何操作，确定完成订单?');"
                            Text="完成" CssClass="but_1"/>
                    </td>
                    <td align="right">
                        <asp:Button ID="BReplacement" runat="server" OnClick="BReplacement_Click" Text="换货" CssClass="but_1"/>
                        <asp:Button ID="BRefund" runat="server" OnClick="BRefund_Click" Text="退款" CssClass="but_1"/>
                        <asp:Button ID="BReturns" runat="server" OnClick="BReturns_Click" Text="退货" CssClass="but_1"/>
                        <asp:Button ID="BInvalid" runat="server" OnClientClick="return confirm('订单作废后就不能对此订单进行任何操作，确定作废此订单?');"
                            OnClick="BInvalid_Click" Text="作废" CssClass="but_1"/>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="container">
        <table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
            <tr>
                <td valign="top">
                    <div id="con_two_1" class="dialog2" style="display: none">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td align="right" style="width: 75px; height: 34px; font-size: 12px">
                                    收款银行：
                                </td>
                                <td style="width: 200px">
                                    <asp:DropDownList ID="DBankList" runat="server">
                                    </asp:DropDownList>
                                    [<a href="../Setting/BankList.aspx" target="_blank" class="blue">管理</a>]
                                </td>
                                <td align="right" style="width: 75px; font-size: 12px">
                                    银行帐号：
                                </td>
                                <td style="width: 130px">
                                    <asp:TextBox ID="TBankNumber" CssClass="input_1" Width="120px" runat="server"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:Button ID="BSubmitPaymentInfo" CssClass="button_1" runat="server" Text="提交所填信息"
                                        OnClick="BSubmitPaymentInfo_Click" />
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_two_2" class="dialog2" style="display: none">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td align="right" style="width: 75px; height: 34px; font-size: 12px">
                                    物流公司：
                                </td>
                                <td style="width: 200px">
                                    <asp:DropDownList ID="DLogisticsCompany" runat="server">
                                    </asp:DropDownList>
                                    [<a href="../Setting/LogisticsList.aspx" target="_blank" class="blue">管理</a>]
                                </td>
                                <td align="right" style="width: 75px; font-size: 12px">
                                    快递单号：
                                </td>
                                <td style="width: 130px">
                                    <asp:TextBox ID="TCourierTrackingNumber" CssClass="input_1" Width="120px" runat="server"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:Button ID="BSubmitLogisticsInfo" CssClass="button_1" runat="server" Text="提交所填信息"
                                        OnClick="BSubmitLogisticsInfo_Click" />
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="dialog2">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="font-size: 12px">
                                    订单号：
                                    <img src="../CSS/Admin/images/order.png" alt="ico" width="10" height="10" />
                                    <asp:Literal ID="LMailOrderNumber" runat="server"></asp:Literal>
                                </td>
                                <td style="font-size: 12px">
                                    当前状态：<span style="color: #FF6600"><asp:Literal ID="LMainOrderState" runat="server"></asp:Literal></span>
                                </td>
                                <td style="font-size: 12px">
                                    是否支付：<asp:Literal ID="LIsPayment" runat="server"></asp:Literal>
                                </td>
                                <td style="font-size: 12px">
                                    是否发货：<asp:Literal ID="LIsSendProduct" runat="server"></asp:Literal>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
        <div class="all_1">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td class="all">
                        <div class="Fast_group_labe">
                            <table border="0" cellspacing="0" cellpadding="0" class="Fast_group_table">
                                <tr>
                                    <th style="width: 70px">
                                        商品图片
                                    </th>
                                    <th style="width: 280px">
                                        商品名称
                                    </th>
                                    <th style="width: 70px">
                                        商品单价
                                    </th>
                                    <th style="width: 30px">
                                        数量
                                    </th>
                                    <th>
                                        备注
                                    </th>
                                </tr>
                                <asp:Repeater ID="RepeaterTable" runat="server">
                                    <ItemTemplate>
                                        <tr>
                                            <td>
                                                <div class="img_ys">
                                                    <asp:Image ID="ProductImg" ImageUrl='<%# Common.GetProductSmallImg(Eval("ProductNumber").ToString())%>'
                                                        ToolTip="商品图片" Width="54" Height="54" runat="server" />
                                                </div>
                                            </td>
                                            <td>
                                                <p>
                                                    名称：<%#Eval("ProductName") %></p>
                                                <p>
                                                    货号：<%#Eval("ProductNumber")%></p>
                                            </td>
                                            <td style="color: #FF6600">
                                                ￥<%#Eval("ProductPrice")%>&nbsp;
                                            </td>
                                            <td>
                                                <%#Eval("BuyNumber")%>&nbsp;
                                            </td>
                                            <td>
                                                <%#Eval("Remark")%>&nbsp;
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                                <tr>
                                    <th colspan="5">
                                        <span style="color: #FF6600">商品总金额：￥<asp:Literal ID="LOrderProductPrice" runat="server"></asp:Literal></span>
                                    </th>
                                </tr>
                            </table>
                        </div>
                        <div class="filter">
                            <h3>
                                <strong>订单信息：</strong></h3>
                            <table border="0" cellspacing="0" cellpadding="0" class="filter_table">
                                <tr>
                                    <th style="width: 60px">
                                        订单号
                                    </th>
                                    <td style="width: 280px">
                                        <asp:Literal ID="LOrderNumber" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                    <th style="width: 60px">
                                        订单日期
                                    </th>
                                    <td style="color: #666666">
                                        <asp:Literal ID="LCreateDate" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        订单状态
                                    </th>
                                    <td>
                                        <asp:Literal ID="LOrderState" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                    <th>
                                        送货日期段
                                    </th>
                                    <td>
                                        <asp:Literal ID="LDeliverDay" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        订单总金额
                                    </th>
                                    <td style="color: #FF6600">
                                        ￥
                                        <asp:Literal ID="LOrderPrice" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                    <th>
                                        送货时间段
                                    </th>
                                    <td>
                                        <asp:Literal ID="LDeliverTime" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        配送费用
                                    </th>
                                    <td>
                                        ￥
                                        <asp:Literal ID="LDispatchPrice" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                    <th>
                                        配送方式
                                    </th>
                                    <td>
                                        <asp:Literal ID="LDispatchMode" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        配送地区
                                    </th>
                                    <td>
                                        <asp:Literal ID="LDispatchArea" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                    <th>
                                        支付方式
                                    </th>
                                    <td>
                                        <asp:Literal ID="LPaymentMode" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        订单类型
                                    </th>
                                    <td>
                                        <asp:Literal ID="LOrderType" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                    <th>
                                        发票抬头
                                    </th>
                                    <td>
                                        <asp:Literal ID="LInvoiceHead" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        物流公司
                                    </th>
                                    <td>
                                        <asp:Literal ID="LLogisticsCompany" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                    <th>
                                        快递单号
                                    </th>
                                    <td>
                                        <asp:Literal ID="LCourierTrackingNumber" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        收款银行
                                    </th>
                                    <td>
                                        <asp:Literal ID="LAccountBank" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                    <th>
                                        银行帐号
                                    </th>
                                    <td>
                                        <asp:Literal ID="LAccountBankNumber" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        订单附言
                                    </th>
                                    <td colspan="3">
                                        <asp:Literal ID="LRemark" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div class="filter">
                            <h3>
                                <strong>收货人信息：</strong></h3>
                            <table border="0" cellspacing="0" cellpadding="0" class="filter_table">
                                <tr>
                                    <th style="width: 60px">
                                        收货人
                                    </th>
                                    <td style="width: 280px">
                                        <asp:Literal ID="LConsigneeName" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                    <th style="width: 60px">
                                        邮政编码
                                    </th>
                                    <td>
                                        <asp:Literal ID="LConsigneeZipCode" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        移动电话
                                    </th>
                                    <td>
                                        <asp:Literal ID="LConsigneeMobile" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                    <th>
                                        <span style="width: 60px">电子邮件</span>
                                    </th>
                                    <td>
                                        <asp:Literal ID="LConsigneeEmail" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        固定电话
                                    </th>
                                    <td>
                                        <asp:Literal ID="LConsigneePhone" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                    <th>
                                        配送地区
                                    </th>
                                    <td>
                                        <asp:Literal ID="LConsigneeDispatchArea" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        收货地址
                                    </th>
                                    <td colspan="3">
                                        <asp:Literal ID="LConsigneeAddress" runat="server"></asp:Literal>&nbsp;
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
