<%
    //-----------------------------------------------------------
    // 文件名称: Order_Order_View.aspx
    // 页面名称: 订单详细
    //
    // 描    述:
    //
    // 创建标识: Add By 吴建春 2008-07-24
    //-----------------------------------------------------------
%>

<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.Order_Order_View, V5Shop.Shop.Order" enablesessionstate="True" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc2" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="V5" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />
    <link href="css/css_list.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="js/Common.js"></script>
    <script type="text/javascript" language="javascript">
    //<!--
    //更改支付按钮按下时
    function btnChangePayMent_onclick()
    {
        var ordernumber = document.getElementById('lblNumber');
        var uri = "Order_Order_Edit_Payment.aspx?" +
                  "OpenerName=Order_Order_View" +
                  "&OrderNumber=" + ordernumber.innerText;
        var features = "modal=yes,width=620,height=620,top=200,left=300,resizable=no,scrollbars=no";
        window.open(uri, "_blank", features);
    }
    function btnPrintOrder_Click()
    {
        var ordernumber = document.getElementById('lblNumber');
        var uri = "Order_Order_Print.aspx?" +
                  "&id=" + ordernumber.innerText;
        window.open(uri, "_blank", "");
    }
    function btnPrintTemplate_Click()
    {
        location.href="Order_Order_Printe_Template.aspx";
    }
    function btnPrintExpress_Click()
    {
        var ordernumber = document.getElementById('lblNumber');
        var uri = "Order_Order_Print_Express.aspx?" +
                  "&id=" + ordernumber.innerText;
        window.open(uri, "_blank", "");
    }
    function OnOrderStatusChanged(obj)
    {
        var dr = document.getElementById("invoiceOrderNumberRow");
        if (obj.value==3)
        {
            dr.style.display='';
        }
        else
        {
            dr.style.display='none';
        }
    }
    //-->
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <div class="OperateTitle">
                <div>
                    <asp:Label ID="lblAdd" runat="server" Text="【订单详细】" /></div>
            </div>
            <div id="content1" runat="server">
                <asp:Panel runat="server" ID="panelOrderStatusView">
                <table style="width: 100%; border: 0px; text-align: center;" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="20%" height="30" align="right">
                            <asp:Label ID="Label2" runat="server" meta:resourcekey="lblTitleResource1" Text="订单编号："></asp:Label>
                        </td>
                        <td style="text-align: left;">
                            <asp:Label ID="lblNumber" runat="server" meta:resourcekey="lblTitleResource1" />
                        </td>
                    </tr>
                    <tr>
                        <td width="20%" align="right" style="height: 30px">下单日期：</td>
                        <td width="80%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblOrderCreatedDate"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="20%" height="30" align="right">
                            <asp:Label ID="Label1" runat="server" meta:resourcekey="lblTitleResource1" Text="订单状态："></asp:Label>
                        </td>
                        <td width="80%" align="left">
                            <asp:RadioButtonList ID="cblOrderState" runat="server" CssClass="input3" RepeatColumns="10" RepeatDirection="Horizontal" RepeatLayout="Flow" />
                            <asp:Button ID="btnChangeOrderState" runat="server" CssClass="button" Text="修改订单状态" OnClick="btnChangeOrderState_Click" />
                            <br />
                            <asp:Button ID="btnRefundOrder" runat="server" CssClass="button" Text="退货" OnClick="btnRefundOrder_Click" Visible="false" />
                        </td>
                    </tr>
                    <tr id="invoiceOrderNumberRow" style="display:none;">
                        <td width="20%" align="right" style="height: 30px">物流单号：</td>
                        <td width="80%" align="left" style="height: 30px">
                            <asp:TextBox runat="server" ID="txtTransferOrderNumber" Width="260px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="20%" height="30" align="right">
                            <asp:Label ID="Label3" runat="server" meta:resourcekey="lblTitleResource1" Text="备注信息："></asp:Label></td>
                        <td width="80%" align="left">
                            <asp:TextBox ID="txtAdminRemark" runat="server" Height="80px" TextMode="MultiLine" Width="260px"></asp:TextBox>
                            <asp:Button ID="btnChangeAdminRemark" runat="server" CssClass="button" OnClick="btnChangeAdminRemark_Click" Text="修改备注信息" /></td>
                    </tr>
                    <tr>
                        <td align="right" width="20%" style="height: 30px">
                            <asp:Label ID="Label5" runat="server" meta:resourcekey="lblTitleResource1" Text="客户备注：" Visible="False" /></td>
                        <td align="left" width="80%" style="height: 30px">
                            <asp:Label ID="txtUserRemark" runat="server" Visible="False" /></td>
                    </tr>
                    <tr>
                        <td width="20%" align="right" style="height: 30px">
                            <asp:Label ID="Label16" runat="server" meta:resourcekey="lblTitleResource1" Text="订单源："></asp:Label></td>
                        <td width="80%" align="left" style="height: 30px">
                            <asp:Label ID="lblBa" runat="server"></asp:Label>
                            </td>
                    </tr>                       
                    <tr>
                        <td width="20%" align="right" style="height: 30px">
                            <asp:Label ID="Label4" runat="server" meta:resourcekey="lblTitleResource1" Text="发货通知："></asp:Label></td>
                        <td width="80%" align="left" style="height: 30px">
                            <asp:Label ID="lblShippingAdvice" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label>
                            <asp:Button ID="btnAddShippingAdvice" runat="server" CssClass="button" Text="添加发货通知" OnClick="btnAddShippingAdvice_Click" Enabled="False" /></td>
                    </tr>                 
                </table>
                </asp:Panel>
                <asp:Panel runat="server" ID="panelInvoiceOrderStatusModify" Visible="false" style="border:solid 1px #cccccc; margin:5px;">
                <table style="width: 100%; border: 0px; text-align: center;" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="5%" align="right" style="height: 30px">发货单号：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayInvoiceOrderNumber"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">订单号：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayOrderNumber"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">物流单号：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayTransferOrderNumber"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">支付方式：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayPayment"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">会员名：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayUsername"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">收货人：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayReceiveName"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="5%" align="right" style="height: 30px">收货地址：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayReceiveAddress"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">邮编：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayReceivePostCode"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">电话：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplaySendTel"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">手机：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplaySendMobile"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">物流公司：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayDelivery"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">物流费用：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayFee"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="5%" align="right" style="height: 30px">生成时间：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayCreationDate"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">状态：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayStatusID"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">&nbsp;</td>
                        <td width="11%" align="left" style="height: 30px">
                            &nbsp;
                        </td>
                        <td width="5%" align="right" style="height: 30px">&nbsp;</td>
                        <td width="11%" align="left" style="height: 30px">
                            &nbsp;
                        </td>
                        <td width="5%" align="right" style="height: 30px">&nbsp;</td>
                        <td width="11%" align="left" style="height: 30px">
                            &nbsp;
                        </td>
                        <td width="5%" align="right" style="height: 30px">&nbsp;</td>
                        <td width="11%" align="left" style="height: 30px">
                            &nbsp;
                        </td>
                    </tr>
                </table>
                </asp:Panel>
                <asp:Panel runat="server" ID="panelRefundOrderStatusModify" Visible="false" style="border:solid 1px #cccccc; margin:5px;">
                <table style="width: 100%; text-align: center;" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td width="5%" align="right" style="height: 30px">退货单号：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayRefundInvoiceOrderNumber"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">订单号：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayRefundOrderNumber"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">物流单号：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayRefundTransferOrderNumber"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">支付方式：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayRefundPayment"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">会员名：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayRefundUsername"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">退货人：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayRefundReceiveName"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="5%" align="right" style="height: 30px">退货地址：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayRefundReceiveAddress"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">邮编：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayRefundReceivePostCode"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">电话：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayRefundSendTel"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">手机：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayRefundSendMobile"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">物流公司：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayRefundDelivery"></asp:Label>
                        </td>
                        <td width="5%" align="right" style="height: 30px">物流费用：</td>
                        <td width="11%" align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayRefundFee"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 30px">生成时间：</td>
                        <td align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayRefundCreationDate"></asp:Label>
                        </td>
                        <td align="right" style="height: 30px">状态：</td>
                        <td align="left" style="height: 30px">
                            <asp:Label runat="server" ID="lblDisplayRefundStatusID"></asp:Label>
                        </td>
                        <td align="right" style="height: 30px">退货原因：</td>
                        <td align="left" style="height: 30px" colspan="8">
                            <asp:Label runat="server" ID="lblDisplayRefundReson"></asp:Label>
                        </td>
                    </tr>
                </table>
                </asp:Panel>
                <asp:Panel runat="server" ID="panelReason" Visible="false">
                <table style="width: 100%; border: 0px; text-align: center;" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="20%" align="right" style="height: 30px">物流单号：</td>
                        <td width="80%" align="left" style="height: 30px">
                            <asp:TextBox runat="server" ID="txtTransferBackOrderNumber" Width="260px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="20%" align="right" style="height: 30px">退货人：</td>
                        <td width="80%" align="left" style="height: 30px">
                            <asp:TextBox runat="server" ID="txtRefundUserName" Width="260px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="20%" align="right" style="height: 30px">退货原因：</td>
                        <td width="80%" align="left" style="height: 30px">
                            <asp:DropDownList runat="server" ID="ddlReason">
                                <asp:ListItem Text="质量原因"></asp:ListItem>
                                <asp:ListItem Text="无理由"></asp:ListItem>
                                <asp:ListItem Text="其它"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td width="20%" align="right" style="height: 30px">退货单备注：</td>
                        <td width="80%" align="left" style="height: 30px">
                            <asp:TextBox runat="server" ID="txtRefundDescription" Height="80px" TextMode="MultiLine" Width="260px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="20%" align="right" style="height: 30px"></td>
                        <td width="80%" align="left" style="height: 30px">
                            <asp:Button ID="btnRefundOrderSubmit" runat="server" CssClass="button" Text="退货" OnClick="btnRefundOrderSubmit_Click" />
                        </td>
                    </tr>
                </table>
                </asp:Panel>
                <table style="width: 100%; border: 0px; text-align: center;" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="height: 40px; text-align: left; background-color: #f1f1f1" colspan="4">
                            &nbsp;<asp:Label ID="Label6" runat="server" Font-Bold="true" meta:resourcekey="lblTitleResource1" Text="商品信息"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding-left: 20px; padding-top: 3px; padding-bottom: 2px; text-align: left;">
                            <asp:LinkButton ID="btnChangeProduct" runat="server" ForeColor="#4B6888" OnClick="btnChangeProduct_Click" Width="90px"><img src="images/icon/key_add2.gif" alt="续继添加商品" /> 添加商品</asp:LinkButton>
                            <asp:LinkButton ID="btnChangeCart" runat="server" ForeColor="#4B6888" OnClick="btnChangeCart_Click"><img src="images/icon/key_cart.gif" alt="" /> 购物车</asp:LinkButton></td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 40px; text-align: center;" colspan="2" class="listborder">
                            <div id="content">
                                <div class="listborder">
                                    <V5:V5ShopGridView ID="GridViewShow" runat="server" AllowPaging="True" PageSize="10" AllowSorting="True" AutoGenerateColumns="False" BorderWidth="0px" CacheName="ProductInfo" CssClass="datalist" EmptyDataText="没有任何可用信息！" GridLines="None" HeaderStyle-ForeColor="#000000" TableName="" Width="100%" MultiEditMode="False">
                                        <PagerSettings Mode="NumericFirstLast" />
                                        <Columns>
                                            <asp:BoundField DataField="Number" HeaderText="商品编号" SortExpression="Number" />
                                            <asp:TemplateField>
                                                <headertemplate>商品图片</headertemplate>
                                                <itemtemplate>
                                                    <img src='<%# "../" + Eval("Src").ToString().ToLower().Replace(".jpg", "_tmp.jpg").Replace(".gif", "_tmp.gif") %>'
                                                        alt="" title='<%# Eval("Name") %>' />
                                                </itemtemplate>
                                                <itemstyle horizontalalign="Center" width="8%" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="商品名称" SortExpression="Name">
                                                <itemtemplate>
                                                    <asp:HyperLink ID="lkGroupBuy" runat="server" Target="_blank" ImageUrl = "images/icon/key_groupbuy.gif" ToolTip="团购订单"
                                                        NavigateUrl='<%# "../groupbuy.aspx?id=" + DataBinder.Eval(Container, "DataItem(GroupBuyID)","{0}") %>' 
                                                        Visible='<%# FormatTrueFalse(DataBinder.Eval(Container, "DataItem(GroupBuyID)","{0}")) %>' />
                                                    <asp:HyperLink ID="lkSnatch" runat="server" Target="_blank"  ImageUrl = "images/icon/key_snatch.gif"  ToolTip="夺宝奇兵订单"
                                                        NavigateUrl='<%# "../snatch.aspx?id=" + DataBinder.Eval(Container, "DataItem(SnatchID)","{0}") %>'
                                                        Visible='<%# FormatTrueFalse(DataBinder.Eval(Container, "DataItem(SnatchID)","{0}")) %>' />
                                                    <a target="_blank" href='../product.aspx?id=<%# Eval("ProductID") %>'>
                                                        <asp:Label id="lblProductName" runat="server" text='<%# Eval("Name") %>' />
                                                    </a>
                                                </itemtemplate>
                                            </asp:TemplateField>
                                            <asp:BoundField DataField="CategoryName" HeaderText="所属分类" SortExpression="CategoryName" />
                                            <asp:TemplateField HeaderText="商品属性" SortExpression="PropertysText">
                                                <itemtemplate>
                                                    <div><%# Eval("PropertysText") %></div>
                                                </itemtemplate>
                                            </asp:TemplateField>
                                            <asp:BoundField DataField="MarketPrice" HeaderText="市场价" SortExpression="MarketPrice" />
                                            <asp:BoundField DataField="OrderPrice" HeaderText="购买价格" SortExpression="OrderPrice" />
                                            <asp:BoundField DataField="Count" HeaderText="购买数量" SortExpression="Count" />
                                            <asp:BoundField DataField="TotalPrice" HeaderText="小计" SortExpression="TotalPrice" />
                                        </Columns>
                                    </V5:V5ShopGridView>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
                <table style="width: 100%; border: 0px; text-align: center;" cellpadding="0" cellspacing="0">
                    <tr style="height: 40px; background-color: #f1f1f1">
                        <td style="text-align: left;" colspan="4">
                            &nbsp;<asp:Label ID="Label41" runat="server" Font-Bold="true" meta:resourcekey="lblTitleResource1" Text="收货人信息"></asp:Label></td>
                    </tr>
                    <tr style="height: 30px;">
                        <td width="20%" height="30" align="right">
                            <asp:Label ID="Label42" runat="server" meta:resourcekey="lblTitleResource1" Text="收货人姓名："></asp:Label></td>
                        <td align="left" style="width: 30%">
                            <asp:Label ID="lblReceiveName" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                        <td align="right" style="width: 20%">
                            <asp:Label ID="Label45" runat="server" meta:resourcekey="lblTitleResource1" Text="E-Mail："></asp:Label></td>
                        <td align="left" style="width: 30%">
                            <asp:Label ID="lblSendEmail" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label>&nbsp;
                        </td>
                    </tr>
                    <tr style="height: 30px;">
                        <td align="right" style="height: 38px">
                            <asp:Label ID="Label47" runat="server" meta:resourcekey="lblTitleResource1" Text="性别："></asp:Label></td>
                        <td align="left" style="height: 38px">
                            <asp:Label ID="lblReceiveSex" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                        <td align="right" style="height: 38px">
                            <asp:Label ID="Label55" runat="server" meta:resourcekey="lblTitleResource1" Text="送货地址："></asp:Label></td>
                        <td align="left" style="height: 38px">
                            <asp:Label ID="lblReceiveAddress" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                    </tr>
                    <tr style="height: 30px;">
                        <td align="right">
                            <asp:Label ID="Label44" runat="server" meta:resourcekey="lblTitleResource1" Text="联系电话："></asp:Label></td>
                        <td align="left">
                            <asp:Label ID="lblSendTel" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                        <td align="right">
                            <asp:Label ID="Label58" runat="server" meta:resourcekey="lblTitleResource1" Text="邮编："></asp:Label></td>
                        <td align="left">
                            <asp:Label ID="lblReceivePostCode" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                    </tr>
                    <tr style="height: 30px;">
                        <td width="20%" height="30" align="right">
                            <asp:Label ID="Label46" runat="server" meta:resourcekey="lblTitleResource1" Text="手机："></asp:Label></td>
                        <td align="left">
                            <asp:Label ID="lblSendMobile" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                        <td align="right">
                            <asp:Label ID="Label48" runat="server" meta:resourcekey="lblTitleResource1" Text="标志性建筑："></asp:Label></td>
                        <td align="left">
                            <asp:Label ID="lblBuilding" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                    </tr>
                </table>
                <table style="width: 100%; border: 0px; text-align: center;" cellpadding="0" cellspacing="0">
                    <tr style="height: 40px; background-color: #f1f1f1; text-align: left;">
                        <td colspan="4">
                            &nbsp;<asp:Label ID="Label7" runat="server" meta:resourcekey="lblTitleResource1" Text="配送/支付/费用信息" Font-Bold="True" />
                        </td>
                    </tr>
                    <tr style="height: 30px;">
                        <td style="width: 20%; text-align: right;">
                            <asp:Label ID="Label8" runat="server" meta:resourcekey="lblTitleResource1" Text="配送方式："></asp:Label></td>
                        <td style="width: 30%; text-align: left;">
                            <asp:Label ID="lblDelivery" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                        <td style="width: 20%; text-align: right;">
                            <asp:Label ID="Label13" runat="server" meta:resourcekey="lblTitleResource1" Text="支付方式："></asp:Label></td>
                        <td style="width: 30%; text-align: left;">
                            <asp:Label ID="lblPayment" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label>
                            <input id="btnChangePayMent" runat="server" class="button" name="btnChangePayMent" type="button" value="更改" onclick="return btnChangePayMent_onclick();" /></td>
                    </tr>
                    <tr style="height: 30px;">
                        <td align="right">
                            <asp:Label ID="Label10" runat="server" meta:resourcekey="lblTitleResource1" Text="配送费用："></asp:Label></td>
                        <td align="left">
                            <asp:Label ID="lblFee" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                        <td style="text-align: right;">
                            <asp:Label ID="Label9" runat="server" meta:resourcekey="lblTitleResource1" Text="手续费："></asp:Label></td>
                        <td style="text-align: left;">
                            <asp:Label ID="lblPaymentPrice" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                    </tr>
                    <tr style="height: 30px;">
                        <td align="right">
                            <asp:Label ID="Label33" runat="server" meta:resourcekey="lblTitleResource1" Text="保价费用："></asp:Label></td>
                        <td align="left">
                            <asp:Label ID="lblSafePrice" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                        <td style="text-align: right;">
                        </td>
                        <td style="text-align: left;">
                        </td>
                    </tr>
                    <tr style="height: 30px">
                        <td align="right">
                            <asp:Label ID="Label11" runat="server" meta:resourcekey="lblTitleResource1" Text="积分优惠：" /></td>
                        <td align="left">
                            <asp:Label ID="lblScoreTradePrice" runat="server" meta:resourcekey="lblTitleResource1" /></td>
                        <td style="text-align: right">
                            <asp:Label ID="Label12" runat="server" meta:resourcekey="lblTitleResource1" Text="优惠券优惠：" /></td>
                        <td style="text-align: left">
                            <asp:Label ID="lblCouponTradePrice" runat="server" meta:resourcekey="lblTitleResource1" /></td>
                    </tr>
                    <tr style="height: 30px">
                        <td align="right">
                            <asp:Label ID="Label37" runat="server" meta:resourcekey="lblTitleResource1" Text="是否需要发票："></asp:Label></td>
                        <td align="left" colspan="3">
                            <asp:Label ID="lblIsInvoice" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label>
                            <span id="ShowInvoice" runat="server">
                                <asp:Label ID="Label39" runat="server" meta:resourcekey="lblTitleResource1" Text="发票税额："></asp:Label>
                                <asp:Label ID="lblInvoicePrice" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label>
                                <asp:Label ID="Label61" runat="server" meta:resourcekey="lblTitleResource1" Text="发票抬头："></asp:Label>
                                <asp:Label ID="lblInvoiceHead" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label>
                            </span>
                        </td>
                    </tr>
                    <tr style="height: 30px">
                        <td align="right">
                            <asp:Label ID="Label14" runat="server" meta:resourcekey="lblTitleResource1" Text="赠送积分："></asp:Label></td>
                        <td align="left">
                            <V5:NumberBox ID="txtScore" runat="server" meta:resourcekey="lblTitleResource1" Width="40px"/>
                            <asp:HiddenField ID="HidOldScore" runat="server" />
                            <asp:HiddenField ID="HidUserName" runat="server" />
                            <asp:Button ID="jfButton" runat="server" CssClass="button" OnClick="btnChangeScore_Click" Text="更改" /></td>
                        <td style="text-align: right">
                            <asp:Label ID="Label15" runat="server" meta:resourcekey="lblTitleResource1" Text="消耗积分："></asp:Label></td>
                        <td style="text-align: left">
                            <asp:Label ID="lblUsedScore" runat="server" meta:resourcekey="lblTitleResource1">0</asp:Label></td>
                    </tr>
                    <tr style="height: 30px">
                        <td align="right">
                            <asp:Label ID="Label29" runat="server" meta:resourcekey="lblTitleResource1" Text="商品总金额："></asp:Label></td>
                        <td align="left">
                            <asp:Label ID="lblNewProductPrice" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                        <td style="text-align: right">
                            <asp:Label ID="Label31" runat="server" meta:resourcekey="lblTitleResource1" Text="订单总金额："></asp:Label></td>
                        <td style="text-align: left">
                            <asp:Label ID="lblPrice" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label>
                            <asp:Button ID="btnChangeOrderPrice" runat="server" CssClass="button" Text="更改" OnClick="btnChangeOrderPrice_OnClick" />
                            <asp:Button ID="btnViewLog" runat="server" CssClass="button" Text="查看变更记录" OnClick="btnViewLog_Click" /></td>
                    </tr>
                    <tr style="height: 30px">
                        <td align="right">
                            <asp:Label ID="Label35" runat="server" meta:resourcekey="lblTitleResource1" Text="订单备注："></asp:Label></td>
                        <td align="left" colspan="3">
                            <asp:TextBox ID="txtRemark" runat="server" Height="80px" ReadOnly="True" TextMode="MultiLine" Width="260px" /></td>
                    </tr>
                </table>
                <table style="width: 100%; border: 0px; text-align: center;" cellpadding="0" cellspacing="0">
                    <tr style="height: 40px; background-color: #f1f1f1; text-align: left;">
                        <td colspan="4">
                            &nbsp;<asp:Label ID="Label28" runat="server" meta:resourcekey="lblTitleResource1" Text="其它信息" Font-Bold="True"></asp:Label></td>
                    </tr>
                    <tr style="height: 30px">
                        <td style="width: 20%; text-align: right;">
                            <asp:Label ID="Label18" runat="server" meta:resourcekey="lblTitleResource1" Text="包装名称："></asp:Label></td>
                        <td style="width: 30%; text-align: left;">
                            <asp:Label ID="lblProductPackage" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                        <td style="width: 20%; text-align: right;">
                            <asp:Label ID="Label20" runat="server" meta:resourcekey="lblTitleResource1" Text="包装费用："></asp:Label></td>
                        <td style="width: 30%; text-align: left;">
                            <asp:Label ID="lblProductPackagePrice" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                    </tr>
                    <tr style="height: 30px">
                        <td style="width: 20%; text-align: right;">
                            <asp:Label ID="Label23" runat="server" meta:resourcekey="lblTitleResource1" Text="贺卡名称："></asp:Label></td>
                        <td style="width: 30%; text-align: left;">
                            <asp:Label ID="lblGreetingCard" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                        <td style="width: 20%; text-align: right;">
                            <asp:Label ID="Label25" runat="server" meta:resourcekey="lblTitleResource1" Text="贺卡费用："></asp:Label></td>
                        <td style="width: 30%; text-align: left;">
                            <asp:Label ID="lblGreetingCardPrice" runat="server" meta:resourcekey="lblTitleResource1"></asp:Label></td>
                    </tr>
                    <tr style="height: 30px">
                        <td style="width: 20%; text-align: right;">
                            <asp:Label ID="Label27" runat="server" meta:resourcekey="lblTitleResource1" Text="贺卡内容："></asp:Label></td>
                        <td colspan="3" style="text-align: left;">
                            <asp:TextBox ID="txtGreetingCardInfomation" runat="server" Height="80px" TextMode="MultiLine" Width="260px" />
                            <asp:Button ID="btnUpdateGreetingCardInformation" runat="server" Text="更新贺卡内容" CssClass="button" OnClick="btnUpdateGreetingCardInformation_Click" /></td>
                    </tr>
                </table>
            </div>
            <asp:Panel runat="server" ID="panelPrint">
            <div id="content2">
                <table style="width: 100%; border: 0px; text-align: center;" cellpadding="0" cellspacing="0">
                    <tr class="F7tr">
                        <td align="right" style="height: 40px; text-align: center;" colspan="2">
                            <button id="btnPrintOrder" class="button" onclick="javascript:btnPrintOrder_Click();">打印订单</button>
                            &nbsp;&nbsp;
                            <button id="Button1" class="button" onclick="javascript:btnPrintTemplate_Click();">打印模板定义</button>
                            &nbsp;&nbsp;
                            <button id="Button2" class="button" onclick="javascript:btnPrintExpress_Click();">打印快递单</button>
                        </td>
                    </tr>
                </table>
            </div>
            </asp:Panel>
            <uc2:PageBottom ID="PageBottom" runat="server" />
            <div id="hiddenfield">
                <asp:HiddenField ID="TheDate" runat="server" />
                <asp:HiddenField ID="TheUnionID" runat="server" />
                <asp:HiddenField ID="CheckedIDS" runat="server" Value="0" />
                <asp:HiddenField ID="PageIndex" runat="server" Value="0" />
                <asp:HiddenField ID="MaxPageIndex" runat="server" Value="0" />
                <asp:HiddenField ID="OldOrderStatus" runat="server" Value="0" />
                <uc1:HiddenField ID="Alert" runat="server" />
                <V5:ActiveControl ID="ActiveControl" runat="server" />
            </div>
        </div>
    </form>
    
    
    
</body>
</html>
