<%@ page language="C#" autoeventwireup="true" inherits="Admin_Order_Operate_10, GroupTGWeb_deploy" %>

<%@ Register Assembly="ShopNum1.Control" Namespace="ShopNum1.Control" TagPrefix="cc1" %>
<!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>Untitled Page</title>
    <style type="text/css">
        .hidden
        {
            display: none;
            width: 0;
        }
        .fl
        {
            float: left;
        }
        .fr
        {
            float: right;
        }
        .show
        {
            width: 58px;
            height: 21px;
            background: url(images/Bt_background.gif);
            background-repeat: no-repeat;
            border: 0;
            line-height: 21px;
            text-align: center;
        }
        .show2
        {
            width: 94px;
            height: 21px;
            background: url(images/Bg2_background.gif);
            background-repeat: no-repeat;
            border: 0;
            line-height: 21px;
            text-align: center;
        }
    </style>
    <link type="text/css" rel="Stylesheet" href="css/index.css" />
    <link type="text/css" rel="stylesheet" href="css/thdweb.css" />

    <script src="../js/tanchuDIV3.js" type="text/javascript"></script>

    <script src="../js/tanchuDIV.js" type="text/javascript"></script>

    <script src="../js/tanchuDIV1.js" type="text/javascript"></script>

    <script src="../js/tanchuDIV2.js" type="text/javascript"></script>

</head>
<body style="padding: 0; background-image: url(images/Bg_right.gif); background-repeat: repeat;">
    <form id="form1" runat="server">
    <%------------进入收款单层---------------------------%>
    <div id="dwindow" class="thdtck_web" style="position: absolute; background-color: #FFFFFF;
        cursor: hand; left: 0px; top: 0px; display: none; border: 1px solid;" onmousedown="initializedrag(event)"
        onmouseup="stopdrag()" onselectstart="return false">
        <div id="pop_title" class="thdtck_top">
            <%--<div class="pop_title_left" style="font-size: 14px">&nbsp;&nbsp;收款单
				</div><div class="pop_title_right"><label title="关闭此窗口" onclick="closeit()">关闭&nbsp;</label></div>--%>
            <ul>
                <li style="float: left">收款单</li>
                <li style="float: right;"><a onclick="closeit()">退出<img src="Images/thdtck_close.gif" /></a></li>
            </ul>
        </div>
        <div id="dwindowcontent" class="thdtck_bottom">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td align="right" width="18%">
                        <asp:Label ID="LabelCOrderNumber" runat="server" Text="订单号："></asp:Label>
                    </td>
                    <td width="28%">
                        <asp:TextBox ID="TextBoxCOrderNumber" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right" width="15%">
                        <asp:Label ID="LabelCCreateTime" runat="server" Text="下单日期："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxCCreateTime" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelCProductPrice" runat="server" Text="商品总金额："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxCProductPrice" runat="server" CssClass="input1"></asp:TextBox>
                        <asp:Label ID="Label2" runat="server" Text="*" ForeColor="red"></asp:Label>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidatorContent" runat="server" ControlToValidate="TextBoxCProductPrice"
                            ValidationGroup="vafukuan" Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorShopPrice1" runat="server"
                            ControlToValidate="TextBoxCProductPrice" Display="Dynamic" ValidationGroup="vafukuan"
                            ErrorMessage="价格格式不正确" ValidationExpression="^[0-9]{1,7}(\.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelCAlreadPayPrice" runat="server" Text="收款总金额："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxCAlreadPayPrice" runat="server" CssClass="input1"></asp:TextBox>
                        <asp:Label ID="Label8" runat="server" Text="*" ForeColor="red"></asp:Label>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxCAlreadPayPrice"
                            ValidationGroup="vafukuan" Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBoxCAlreadPayPrice"
                            Display="Dynamic" ValidationGroup="vafukuan" ErrorMessage="价格格式不正确" ValidationExpression="^[0-9]{1,7}(\.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelCBank" runat="server" Text="收款银行："></asp:Label>
                    </td>
                    <td>
                        <asp:ScriptManager ID="scriptManager" runat="server" EnablePartialRendering="true" />
                        <asp:UpdatePanel ID="updatePanel" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                                <asp:TextBox ID="TextBoxCBank" runat="server" CssClass="input1"></asp:TextBox>
                                <asp:DropDownList ID="DropDownListCBank" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DropDownListCBank_SelectedIndexChanged"
                                    CssClass="select1">
                                    <asp:ListItem Text="-使用已存在账户-" Value="-1" Selected="True"></asp:ListItem>
                                    <%-- <asp:ListItem Text="农业银行-232451455214521452" Value="0"></asp:ListItem>--%>
                                </asp:DropDownList>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </td>
                    <td colspan="2">
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelCPaymentType" runat="server" Text="收款类型："></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="DropDownListCPaymentType" runat="server" CssClass="select1">
                            <asp:ListItem Text="预存款支付" Value="1" Selected="True"></asp:ListItem>
                            <asp:ListItem Text="在线支付" Value="0"></asp:ListItem>
                            <asp:ListItem Text="线下支付" Value="2"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelCPaymentName" runat="server" Text="支付方式："></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="DropDownListCPaymentName" runat="server" CssClass="select1">
                        </asp:DropDownList>
                        <asp:Label ID="Label30" runat="server" Text="*" ForeColor="red"></asp:Label>
                        <asp:CompareValidator ID="CompareDropDownListDropDownListCPaymentName" runat="server"
                            ControlToValidate="DropDownListCPaymentName" ValidationGroup="vafukuan" Display="Dynamic"
                            ErrorMessage="该值必需选择" Operator="NotEqual" ValueToCompare="-1"></asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="Label4" runat="server" Text="是否开票："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox2" Text="否" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="Label5" runat="server" Text="税金："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox3" Text="0.00" runat="server" CssClass="input1"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorCostPriceTextBox3"
                            runat="server" ControlToValidate="TextBox3" Display="Dynamic" ErrorMessage="价格格式不正确"
                            ValidationExpression="^[0-9]{1,7}(\.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelCMemLoginID" runat="server" Text="付款人："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxCMemLoginID" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="Label7" runat="server" Text="发票抬头："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox5" Text="否" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelCNote" runat="server" Text="收款单备注："></asp:Label>
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="TextBoxCNote" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td colspan="3">
                        <asp:Button ID="ButtonPaymentStatus2" runat="server" Text="付款" OnClick="ButtonPaymentStatus2_Click"
                            CssClass="bt1" ValidationGroup="vafukuan" UseSubmitBehavior="false" OnClientClick="if(Page_ClientValidate('vafukuan')){this.disabled=true;__doPostBack('ButtonPaymentStatus2','')} return false;" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <%------------进入退款单层---------------------------%>
    <div id="Divtuikuan" class="thdtck_web" style="position: absolute; background-color: #FFFFFF;
        cursor: hand; left: 0px; top: 0px; display: none; border: 1px solid;" onmousedown="initializedrag1(event)"
        onmouseup="stopdrag1()" onselectstart="return false">
        <div class="thdtck_top">
            <ul>
                <li style="float: left">退款单</li>
                <li style="float: right;"><a onclick="closeit1()">退出<img src="Images/thdtck_close.gif" /></a></li>
            </ul>
        </div>
        <div id="Divtuikuancontent" class="pop_content">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td align="right" width="15%">
                        <asp:Label ID="LabelROrderNumber" runat="server" Text="订单号："></asp:Label>
                    </td>
                    <td width="28%">
                        <asp:TextBox ID="TextBoxROrderNumber" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right" width="20%">
                        <asp:Label ID="LabelRCreateTime" runat="server" Text="下单日期："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRCreateTime" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelRProductPrice" runat="server" Text="商品总金额："></asp:Label>
                    </td>
                    <td>
                        <%--<asp:TextBox ID="TextBox6" runat="server" CssClass="input1"></asp:TextBox></td>--%>
                        <asp:TextBox ID="TextBoxRProductPrice" runat="server" CssClass="input1"></asp:TextBox>
                        <asp:Label ID="Label9" runat="server" Text="*" ForeColor="red"></asp:Label>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxRProductPrice"
                            ValidationGroup="vatuikuan" Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBoxRProductPrice"
                            Display="Dynamic" ValidationGroup="vafukuan" ErrorMessage="价格格式不正确" ValidationExpression="^[0-9]{1,7}(\.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelRAlreadPayPrice1" runat="server" Text="收款总金额："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRAlreadPayPrice1" runat="server" CssClass="input1"></asp:TextBox>
                        <asp:Label ID="Label11" runat="server" Text="*" ForeColor="red"></asp:Label>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBoxRAlreadPayPrice1"
                            ValidationGroup="vatuikuan" Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="TextBoxRAlreadPayPrice1"
                            Display="Dynamic" ValidationGroup="vafukuan" ErrorMessage="价格格式不正确" ValidationExpression="^[0-9]{1,7}(\.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelRBank" runat="server" Text="退款银行："></asp:Label>
                    </td>
                    <td>
                        <asp:UpdatePanel ID="updatePanel3" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                                <asp:TextBox ID="TextBoxRBank" runat="server" CssClass="input1"></asp:TextBox>
                                <asp:DropDownList ID="DropDownListRBank" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DropDownListRBank_SelectedIndexChanged"
                                    CssClass="select1">
                                    <asp:ListItem Text="-使用已存在账户-" Value="-1" Selected="True"></asp:ListItem>
                                    <%--   <asp:ListItem Text="农业银行-232451455214521452" Value="0"></asp:ListItem>--%>
                                </asp:DropDownList>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="Label12" runat="server" Text="退款类型："></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="DropDownList2" runat="server" CssClass="select1">
                            <asp:ListItem Text="预存款支付" Value="1" Selected="True"></asp:ListItem>
                            <asp:ListItem Text="在线支付" Value="0"></asp:ListItem>
                            <asp:ListItem Text="线下支付" Value="2"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelRRefundName" runat="server" Text="退款方式："></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="DropDownListRRefundName" runat="server" CssClass="select1">
                        </asp:DropDownList>
                        <asp:Label ID="Label1" runat="server" Text="*" ForeColor="red"></asp:Label>
                        <asp:CompareValidator ID="CompareRRefundName" runat="server" ControlToValidate="DropDownListRRefundName"
                            ValidationGroup="vatuikuan" Display="Dynamic" ErrorMessage="该值必需选择" Operator="NotEqual"
                            ValueToCompare="-1"></asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelRAccount" runat="server" Text="退款帐号："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRAccount" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelRRefundBillNumber" runat="server" Text="退款单号："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRRefundBillNumber" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelRCollectionPeople" runat="server" Text="收款人："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRCollectionPeople" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="Label20" runat="server" Text="发票抬头："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox13" Text="0" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelRAlreadPayPrice" runat="server" Text="退款金额："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRAlreadPayPrice" runat="server" CssClass="input1"></asp:TextBox>
                        <asp:Label ID="Label16" runat="server" Text="*" ForeColor="red"></asp:Label>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBoxRAlreadPayPrice"
                            ValidationGroup="vatuikuan" Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="TextBoxRAlreadPayPrice"
                            Display="Dynamic" ValidationGroup="vafukuan" ErrorMessage="价格格式不正确" ValidationExpression="^[0-9]{1,7}(\.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                    </td>
                    <td align="right">
                        <asp:Label ID="Label6" runat="server" Text="扣除用户积分："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox4" Text="0.00" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:Button ID="ButtonPaymentStatus01" runat="server" Text="退款" OnClick="ButtonPaymentStatus01_Click"
                            CssClass="bt3" ValidationGroup="vatuikuan" UseSubmitBehavior="false" OnClientClick="if(Page_ClientValidate('vatuikuan')){this.disabled=true;__doPostBack('ButtonPaymentStatus01','')} return false;" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <%------------进入发货单层---------------------------%>
    <div id="Divfahuo" class="thdtck_web" style="position: absolute; background-color: #FFFFFF;
        cursor: hand; left: 0px; top: 0px; display: none; border: 1px solid;" onmousedown="initializedrag2(event)"
        onmouseup="stopdrag2()" onselectstart="return false">
        <div id="Div3" class="thdtck_top">
            <ul>
                <li style="float: left">发货单</li>
                <li style="float: right;"><a onclick="closeit2()">退出<img src="Images/thdtck_close.gif" /></a></li>
            </ul>
        </div>
        <div id="Divfahuocontent" class="thdtck_bottom">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelSOrderNumber" runat="server" Text="订单号："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxSOrderNumber" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelSCreateTime" runat="server" Text="下单日期："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxSCreateTime" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td style="display: none">
                        <asp:TextBox ID="TextBoxSMemLoginID" Enabled="false" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelSDispatchModeName" runat="server" Text="配送方式："></asp:Label>
                    </td>
                    <td>
                        <%--<asp:TextBox ID="TextBoxSDispatchModeName" runat="server"></asp:TextBox>--%>
                        <asp:DropDownList ID="DropDownListSDispatchModeName" runat="server" CssClass="select1">
                        </asp:DropDownList>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelSDispatchPrice" runat="server" Text="配送费用："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxSDispatchPrice" runat="server" CssClass="input1"></asp:TextBox>
                        <asp:Label ID="Label17" runat="server" Text="*" ForeColor="red"></asp:Label>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBoxSDispatchPrice"
                            ValidationGroup="vafahuo" Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ControlToValidate="TextBoxSDispatchPrice"
                            Display="Dynamic" ValidationGroup="vafahuo" ErrorMessage="价格格式不正确" ValidationExpression="^[0-9]{1,7}(\.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="Label15" runat="server" Text="是否要求保价："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox10" Text="是" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelSInsurePrice" runat="server" Text="保价费用："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxSInsurePrice" runat="server" CssClass="input1"></asp:TextBox>
                        <asp:Label ID="Label22" runat="server" Text="*" ForeColor="red"></asp:Label>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBoxSInsurePrice"
                            ValidationGroup="vafahuo" Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" ControlToValidate="TextBoxSInsurePrice"
                            Display="Dynamic" ValidationGroup="vafahuo" ErrorMessage="价格格式不正确" ValidationExpression="^[0-9]{1,7}(\.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelSLogisticsCompany" runat="server" Text="物流公司："></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="DropDownListSLogisticsCompany" runat="server" CssClass="select1">
                            <asp:ListItem Value="-1" Selected="True">-请选择-</asp:ListItem>
                            <%--     <asp:ListItem Value="0" Selected="True">群翔软件</asp:ListItem>
                                <asp:ListItem Value="1">xx公司</asp:ListItem>--%>
                        </asp:DropDownList>
                        <asp:Label ID="Label26" runat="server" Text="*" ForeColor="red"></asp:Label>
                        <asp:CompareValidator ID="CompareDdSLogisticsCompany" runat="server" ControlToValidate="DropDownListSLogisticsCompany"
                            Display="Dynamic" ErrorMessage="该值必需选择" Operator="NotEqual" ValueToCompare="-1"
                            ValidationGroup="vafahuo">
                        </asp:CompareValidator>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelSLogisticsNumber" runat="server" Text="物流单号："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxSLogisticsNumber" Text="000" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="Label19" runat="server" Text="物流保价："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox11" Text="否" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="Label21" runat="server" Text="物流保价费用："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox12" Text="0.00" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                        <asp:Label ID="Label23" runat="server" Text="*" ForeColor="red"></asp:Label>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TextBox12"
                            ValidationGroup="vafahuo" Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" ControlToValidate="TextBox12"
                            Display="Dynamic" ValidationGroup="vafahuo" ErrorMessage="价格格式不正确" ValidationExpression="^[0-9]{1,7}(\.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelSCollectionPeople" runat="server" Text="收货人姓名："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxSCollectionPeople" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelSTel" runat="server" Text="电话："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxSTel" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelSMobile" runat="server" Text="手机："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxSMobile" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelSPostalcode" runat="server" Text="邮政编码："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxSPostalcode" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelSDispatchRegion" runat="server" Text="地区："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxSDispatchRegion" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelSAddress" runat="server" Text="详细地址："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxSAddress" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelSNote" runat="server" Text="发货备注："></asp:Label>
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="TextBoxSNote" TextMode="MultiLine" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" colspan="4">
                        <cc1:Num1GridView ID="Num1GridViewDelivery" runat="server" AutoGenerateColumns="False"
                            AllowSorting="True" AscendingImageUrl="~/images/SortAsc.gif" DescendingImageUrl="~/images/SortDesc.gif"
                            Width="100%" AddSequenceColumn="False" AllowMultiColumnSorting="False" BorderColor="#CCDDEF"
                            BorderStyle="Solid" BorderWidth="1px" CellPadding="4" Del="False" DeletePromptText="确实要删除指定的记录吗？"
                            Edit="False" FixHeader="False" GridViewSortDirection="Ascending" PagingStyle="None"
                            Style="margin-left: 2px;" TableName="">
                            <HeaderStyle HorizontalAlign="Center" BackColor="#6699CC" Font-Bold="True" ForeColor="#FFFFFF">
                            </HeaderStyle>
                            <PagerStyle HorizontalAlign="Left" BackColor="#EEEEEE" ForeColor="#6699CC"></PagerStyle>
                            <Columns>
                                <asp:BoundField DataField="RepertoryNumber" HeaderText="货号">
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>
                                <%--<asp:BoundField DataField="Name" HeaderText="商品名称">
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>--%>
                                <asp:TemplateField HeaderText="商品名称">
                                    <ItemTemplate>
                                        <asp:Label ID="Label2" runat="server" Text='<%# ReturnTitle(Eval("Name")) %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Left" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="SurplusCount" HeaderText="当前库存">
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>
                                <asp:BoundField DataField="BuyNumber" HeaderText="购买数量">
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="发货量">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="Label1" runat="server"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:TemplateField>
                            </Columns>
                        </cc1:Num1GridView>
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="4">
                        <div style="display: none">
                            <asp:Button ID="ButtonShipmentStatus1" runat="server" Text="发货" Visible="false" CssClass="bt2" />
                        </div>
                        <div id="mmm" style="display: none">
                            <asp:Label ID="LabelShipmentNumber" runat="server" Text="发货单号："></asp:Label>
                            <asp:TextBox ID="TextBoxShipmentNumber" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorTextBoxShipmentNumber" runat="server"
                                ControlToValidate="TextBoxShipmentNumber" Display="Dynamic" ErrorMessage="该值不能为空"
                                ValidationGroup="vafahuo"></asp:RequiredFieldValidator>
                            <asp:Button ID="ButtonConfirmShipment" runat="server" OnClick="ButtonConfirmShipment_Click"
                                Text="确定发货" CssClass="bt3" ValidationGroup="vafahuo" UseSubmitBehavior="false"
                                OnClientClick="if(Page_ClientValidate('vafahuo')){this.disabled=true;__doPostBack('ButtonConfirmShipment','')} return false;" /></div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <%------------进入退货单层---------------------------%>
    <div id="DivTuihuo" class="thdtck_web" style="position: absolute; background-color: #FFFFFF;
        cursor: hand; left: 0px; top: 0px; display: none; border: 1px solid;" onmousedown="initializedrag3(event)"
        onmouseup="stopdrag3()" onselectstart="return false">
        <div class="thdtck_top">
            <ul>
                <li style="float: left">退货单</li>
                <li style="float: right;"><a onclick="closeit3()">退出<img src="Images/thdtck_close.gif" /></a></li>
            </ul>
        </div>
        <div id="DivTuihuocontent" class="thdtck_bottom">
            <table width="100%">
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelRGOrderNumber" runat="server" Text="订单号："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRGOrderNumber" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelRGCreateTime" runat="server" Text="下单日期："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRGCreateTime" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td style="display: none">
                        <asp:TextBox ID="TextBoxRGMemLoginID" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="Label10" runat="server" Text="退货原因："></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="DropDownList3" runat="server" CssClass="select1">
                            <asp:ListItem Selected="True" Value="-1">-请选择-</asp:ListItem>
                        </asp:DropDownList>
                        <asp:CompareValidator ID="CompareDropDownList3" runat="server" ControlToValidate="DropDownList3"
                            ValidationGroup="vatuihuo" Display="Dynamic" ErrorMessage="该值必需选择" Operator="NotEqual"
                            ValueToCompare="-1"></asp:CompareValidator>
                        <asp:Label ID="Label27" runat="server" Text="*" ForeColor="red"></asp:Label>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelRGName" runat="server" Text="配送方式："></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="DropDownListRGName" runat="server" CssClass="select1">
                        </asp:DropDownList>
                        <asp:CompareValidator ID="CompareValidatorDropDownListRGName" runat="server" ControlToValidate="DropDownListRGName"
                            ValidationGroup="vatuihuo" Display="Dynamic" ErrorMessage="该值必需选择" Operator="NotEqual"
                            ValueToCompare="-1"></asp:CompareValidator>
                        <asp:Label ID="Label28" runat="server" Text="*" ForeColor="red"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelRGLogisticsCompany" runat="server" Text="物流公司："></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="DropDownListRGLogisticsCompany" runat="server" CssClass="select1">
                            <asp:ListItem Value="-1" Selected="True">-请选择-</asp:ListItem>
                        </asp:DropDownList>
                        <asp:CompareValidator ID="CompareValidatorDropDownListRGLogisticsCompany" runat="server"
                            ControlToValidate="DropDownListRGLogisticsCompany" ValidationGroup="vatuihuo"
                            Display="Dynamic" ErrorMessage="该值必需选择" Operator="NotEqual" ValueToCompare="-1"></asp:CompareValidator>
                        <asp:Label ID="Label29" runat="server" Text="*" ForeColor="red"></asp:Label>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelRGLogisticsNumber" runat="server" Text="物流单号："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRGLogisticsNumber" Text="000" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelRGDispatchPrice" runat="server" Text="配送费用："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRGDispatchPrice" runat="server" CssClass="input1"></asp:TextBox>
                        <asp:Label ID="Label24" runat="server" Text="*" ForeColor="red"></asp:Label>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TextBoxRGDispatchPrice"
                            ValidationGroup="vatuihuo" Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" ControlToValidate="TextBoxRGDispatchPrice"
                            Display="Dynamic" ValidationGroup="vatuihuo" ErrorMessage="价格格式不正确" ValidationExpression="^[0-9]{1,7}(\.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                    </td>
                    <td align="right">
                        <asp:Label ID="Label25" runat="server" Text="是否保价："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox19" Text="是" Enabled="false" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelRGReturnGoodsPeople" runat="server" Text="退货人姓名："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRGReturnGoodsPeople" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelRGTel" runat="server" Text="电话："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRGTel" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelRGMobile" runat="server" Text="手机："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRGMobile" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelRGPostalcode" runat="server" Text="邮政编码："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRGPostalcode" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelRGReturnGoodsRegion" runat="server" Text="地区："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRGReturnGoodsRegion" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="LabelRGAddress" runat="server" Text="详细地址："></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBoxRGAddress" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="LabelRGNote" runat="server" Text="退货单备注："></asp:Label>
                    </td>
                    <td colspan="2">
                        <asp:TextBox ID="TextBoxRGNote" TextMode="MultiLine" runat="server" CssClass="input1"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button ID="ButtonOderStatus4" runat="server" Text="退货" OnClick="ButtonOderStatus4_Click"
                            CssClass="bt2" ValidationGroup="vatuihuo" UseSubmitBehavior="false" OnClientClick="if(Page_ClientValidate('vatuihuo')){this.disabled=true;__doPostBack('ButtonOderStatus4','')} return false;" />
                    </td>
                </tr>
                <tr>
                    <td align="right" colspan="4">
                        <cc1:Num1GridView ID="Num1GridViewReturns" runat="server" AutoGenerateColumns="False"
                            AllowSorting="True" AscendingImageUrl="~/images/SortAsc.gif" DescendingImageUrl="~/images/SortDesc.gif"
                            Width="100%" AddSequenceColumn="False" AllowMultiColumnSorting="False" BorderColor="#CCDDEF"
                            BorderStyle="Solid" BorderWidth="1px" CellPadding="4" Del="False" DeletePromptText="确实要删除指定的记录吗？"
                            Edit="False" FixHeader="False" GridViewSortDirection="Ascending" PagingStyle="None"
                            Style="margin-left: 2px;" TableName="">
                            <HeaderStyle HorizontalAlign="Center" BackColor="#6699CC" Font-Bold="True" ForeColor="#FFFFFF">
                            </HeaderStyle>
                            <PagerStyle HorizontalAlign="Left" BackColor="#EEEEEE" ForeColor="#6699CC"></PagerStyle>
                            <Columns>
                                <asp:BoundField DataField="RepertoryNumber" HeaderText="货号">
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>
                                <%--<asp:BoundField DataField="Name" HeaderText="商品名称">
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>--%>
                                <asp:TemplateField HeaderText="商品名称">
                                    <ItemTemplate>
                                        <asp:Label ID="Label2" runat="server" Text='<%# ReturnTitle(Eval("Name")) %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Left" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="SurplusCount" HeaderText="当前库存">
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>
                                <asp:BoundField DataField="BuyNumber" HeaderText="购买数量">
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="退货数量">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="Label1" runat="server"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:TemplateField>
                            </Columns>
                        </cc1:Num1GridView>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="navigator">
        【 订单详细综合 】<asp:Button ID="ButtonReport" runat="server" OnClick="ButtonReport_Click"
            Text="导出到Html" CausesValidation="False" CssClass="bt3" />
    </div>
    <table cellpadding="0" cellspacing="0" border="0" style="width: 100%; line-height: 20px;">
        <tr>
            <td colspan="4" style="width: 100%; background-color: #6699CC;">
                <div style="color: White; margin: 3px; line-height: 30px; height: 30px">
                    <asp:Label ID="LabelPageTitle" runat="server" Font-Bold="True" Text="基本信息"></asp:Label>
                </div>
            </td>
        </tr>
        <tr>
            <td align="right" colspan="4">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelOrderNumber" runat="server" Text="订单号："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelOrderNumberValue" runat="server"></asp:Label>
            </td>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelOderStatus" runat="server" Text="订单状态："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelOderStatusValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelNameMemLoginID" runat="server" Text="购货人："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelMemLoginIDValue" runat="server"></asp:Label>
                <asp:Label ID="LabelMemLoginIDValueShow" runat="server"></asp:Label>
            </td>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelCreateTime" runat="server" Text="下单时间："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelCreateTimeValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelNamePaymentName" runat="server" Text="支付方式："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelPaymentNameValue" runat="server"></asp:Label>
            </td>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelPayTime" runat="server" Text="付款时间："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelPayTimeValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelNameDispatchModeName" runat="server" Text="配送方式："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelDispatchModeNameValue" runat="server"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%--<asp:Button ID="ButtonEditDispatch" runat="server" Text="编辑" OnClick="ButtonEditDispatch_Click"
                    CssClass="bt2" />--%>
            </td>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelNameDispatchTime" runat="server" Text="发货时间："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelDispatchTimeValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelNameShipmentNumber" runat="server" Text="发货单号："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelShipmentNumberValue" runat="server"></asp:Label>
            </td>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelNameFromUrl" runat="server" Text="订单来源："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelFromUrlValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                &nbsp;
            </td>
            <td align="left" style="width: 30%;">
                &nbsp;
            </td>
            <td align="right" style="width: 20%;">
                &nbsp;
            </td>
            <td align="left" style="width: 30%;">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="4" style="width: 100%; background-color: #6699CC;">
                <br />
                <div style="color: White; margin: 3px; height: 30px; line-height: 30px">
                    <asp:Label ID="Label13" runat="server" Font-Bold="True" Text="其他信息"></asp:Label>
                    <%--<asp:Button ID="ButtonEditOther" runat="server" OnClick="ButtonEditOther_Click" Text="编辑"
                        CssClass="bt2 fr" />--%>
                </div>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                &nbsp;
            </td>
            <td align="left" style="width: 30%;">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelClientToSellerMsg" runat="server" Text="客户给商家的留言："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelClientToSellerMsgValue" runat="server" Text=""></asp:Label>
            </td>
            <td align="right" style="width: 20%;">
                &nbsp;
            </td>
            <td align="left" style="width: 30%;">
                &nbsp;
            </td>
        </tr>
        <tr style="display: none;">
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelOutOfStockOperate" runat="server" Text="缺货处理："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelOutOfStockOperateValue" runat="server" Text=""></asp:Label>
            </td>
            <td align="right" style="width: 20%;">
                &nbsp;
            </td>
            <td align="left" style="width: 30%;">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelSellerToClientMsg" runat="server" Text="商家给客户的留言："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelSellerToClientMsgValue" runat="server" Text=""></asp:Label>
            </td>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelUseScore" runat="server" Text="使用的消费积分："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelUseScoreValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                &nbsp;
            </td>
            <td align="left" style="width: 30%;">
                &nbsp;
            </td>
            <td align="right" style="width: 20%;">
                &nbsp;
            </td>
            <td align="left" style="width: 30%;">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="4" style="width: 100%; background-color: #6699CC;">
                <div style="color: White; margin: 3px; line-height: 30px; height: 30px">
                    <asp:Label ID="Label14" runat="server" Font-Bold="True" Text="收货人信息"></asp:Label>
                    <%--<asp:Button ID="ButtonEditAddresss" runat="server" OnClick="ButtonEditAddresss_Click"
                        Text="编辑" CssClass="bt2 fr" />--%>
                </div>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                &nbsp;
            </td>
            <td align="left" style="width: 30%;">
                &nbsp;
            </td>
            <td align="right" style="width: 20%;">
                &nbsp;
            </td>
            <td align="left" style="width: 30%;">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelName" runat="server" Text="收货人："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelNameValue" runat="server"></asp:Label>
            </td>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelEmail" runat="server" Text="电子邮件："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelEmailValue" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelAddress" runat="server" Text="地址："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelAddressValue" runat="server" Text=""></asp:Label>
            </td>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelPostalcode" runat="server" Text="邮编："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelPostalcodeValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelTel" runat="server" Text="电话："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelTelValue" runat="server"></asp:Label>
            </td>
            <td align="right" style="width: 20%;">
                <asp:Label ID="LabelMobile" runat="server" Text="手机："></asp:Label>
            </td>
            <td align="left" style="width: 30%;">
                <asp:Label ID="LabelMobileValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 20%;">
                &nbsp;
            </td>
            <td align="left" style="width: 30%;">
                &nbsp;
            </td>
            <td align="right" style="width: 20%;">
                &nbsp;
            </td>
            <td align="left" style="width: 30%;">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="4" style="width: 100%; background-color: #6699CC;">
                <div style="color: White; margin: 3px; line-height: 30px; height: 30px">
                    <asp:Label ID="Label18" runat="server" Font-Bold="True" Text="商品信息"></asp:Label>
                    <span class="fr">
                        <%--<asp:Button ID="ButtonEditProduct" runat="server" Text="编辑" OnClick="ButtonEditProduct_Click"
                            CssClass="bt2" />--%></span>
                </div>
            </td>
        </tr>
        <tr>
            <td align="right" colspan="4">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right" colspan="4">
                <cc1:Num1GridView ID="Num1GridViewShowOrderProduct" runat="server" AutoGenerateColumns="False"
                    AllowSorting="True" AscendingImageUrl="~/images/SortAsc.gif" DescendingImageUrl="~/images/SortDesc.gif"
                    Width="100%" AddSequenceColumn="False" AllowMultiColumnSorting="False" BorderColor="#CCDDEF"
                    BorderStyle="Solid" BorderWidth="1px" CellPadding="4" Del="False" DeletePromptText="确实要删除指定的记录吗？"
                    Edit="False" FixHeader="False" GridViewSortDirection="Ascending" PagingStyle="None"
                    Style="margin-left: 2px;" TableName="" Font-Size="Small" OnRowDataBound="Num1GridViewShowOrderProduct_RowDataBound">
                    <HeaderStyle HorizontalAlign="Center" BackColor="#6699CC" Font-Bold="True" ForeColor="#FFFFFF">
                    </HeaderStyle>
                    <PagerStyle HorizontalAlign="Left" BackColor="#EEEEEE" ForeColor="#6699CC"></PagerStyle>
                    <Columns>
                        <asp:BoundField DataField="Guid" HeaderText="Guid" Visible="False" />
                        <asp:BoundField DataField="Name" HeaderText="商品名称">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="RepertoryNumber" HeaderText="货号">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="MarketPrice" HeaderText="市场价">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="ShopPrice" HeaderText="本店售价">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="购买价格" DataField="BuyPrice">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="购买数量" DataField="BuyNumber">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="小计">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label1" runat="server"></asp:Label>
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:TemplateField>
                    </Columns>
                </cc1:Num1GridView>
                <cc1:Num1GridView ID="Num1GridViewBuySevcice" runat="server" AutoGenerateColumns="False"
                    AllowSorting="True" AscendingImageUrl="~/images/SortAsc.gif" DescendingImageUrl="~/images/SortDesc.gif"
                    Width="100%" AddSequenceColumn="False" AllowMultiColumnSorting="False" BorderColor="#CCDDEF"
                    BorderStyle="Solid" BorderWidth="1px" CellPadding="4" Del="False" DeletePromptText="确实要删除指定的记录吗？"
                    Edit="False" FixHeader="False" GridViewSortDirection="Ascending" PagingStyle="None"
                    Style="margin-left: 2px;" TableName="" Font-Size="Small" OnRowDataBound="Num1GridViewBuySevcice_RowDataBound">
                    <HeaderStyle HorizontalAlign="Center" BackColor="#6699CC" Font-Bold="True" ForeColor="#FFFFFF">
                    </HeaderStyle>
                    <PagerStyle HorizontalAlign="Left" BackColor="#EEEEEE" ForeColor="#6699CC"></PagerStyle>
                    <Columns>
                        <asp:BoundField DataField="Guid" HeaderText="Guid" Visible="False" />
                        <asp:BoundField DataField="Name" HeaderText="服务名称">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="购买价格" DataField="BuyPrice">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="购买数量" DataField="BuyNumber">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="小计">
                            <ItemTemplate>
                                <asp:Label ID="LabelTotal" runat="server"></asp:Label>
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:TemplateField>
                    </Columns>
                </cc1:Num1GridView>
                <cc1:Num1GridView ID="Num1GridViewMemberRenewalsRecorded" runat="server" AutoGenerateColumns="False"
                    AllowSorting="True" AscendingImageUrl="~/images/SortAsc.gif" DescendingImageUrl="~/images/SortDesc.gif"
                    Width="100%" AddSequenceColumn="False" AllowMultiColumnSorting="False" BorderColor="#CCDDEF"
                    BorderStyle="Solid" BorderWidth="1px" CellPadding="4" Del="False" DeletePromptText="确实要删除指定的记录吗？"
                    Edit="False" FixHeader="False" GridViewSortDirection="Ascending" PagingStyle="None"
                    Style="margin-left: 2px;" TableName="" Font-Size="Small" OnRowDataBound="Num1GridViewMemberRenewalsRecorded_RowDataBound">
                    <HeaderStyle HorizontalAlign="Center" BackColor="#6699CC" Font-Bold="True" ForeColor="#FFFFFF">
                    </HeaderStyle>
                    <PagerStyle HorizontalAlign="Left" BackColor="#EEEEEE" ForeColor="#6699CC"></PagerStyle>
                    <Columns>
                        <asp:BoundField DataField="Guid" HeaderText="Guid" Visible="False" />
                        <asp:BoundField DataField="Name" HeaderText="服务名称">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="购买价格" DataField="BuyPrice">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="购买数量" DataField="BuyNumber">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="小计">
                            <ItemTemplate>
                                <asp:Label ID="LabelTotal" runat="server"></asp:Label>
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:TemplateField>
                    </Columns>
                </cc1:Num1GridView>
            </td>
        </tr>
        <tr>
            <td colspan="4" style="width: 100%; background-color: #6699CC;">
                <div style="color: White; margin: 3px; line-height: 30px; height: 30px">
                    <asp:Label ID="Label31" runat="server" Font-Bold="True" Text="费用信息"></asp:Label>
                    <%--<asp:Button ID="ButtonEditPrice" runat="server" Text="编辑" OnClick="ButtonEditPrice_Click"
                        CssClass="bt2 fr" />--%>
                </div>
            </td>
        </tr>
        <tr>
            <td align="right" colspan="4" style="line-height: 180%">
                <asp:Label ID="LabelActivePrice" runat="server" Text="活动总金额："></asp:Label>
                <font color="red">
                    <asp:Label ID="LabelProductPriceValue" runat="server"></asp:Label></font> -<asp:Label
                        ID="LabelNameDiscount" runat="server" Text="折扣："></asp:Label>
                <font color="red">
                    <asp:Label ID="LabelDiscountValue" runat="server">0.00</asp:Label></font> +<asp:Label
                        ID="LabelDispatchPrice" runat="server" Text="配送费用："></asp:Label>
                <font color="red">
                    <asp:Label ID="LabelDispatchPriceValue" runat="server"></asp:Label></font> +<asp:Label
                        ID="LabelPaymentPrice" runat="server" Text="支付费用："></asp:Label>
                <font color="red">
                    <asp:Label ID="LabelPaymentPriceValue" runat="server"></asp:Label></font>=<asp:Label
                        ID="LabelOrderPrice" runat="server" Text="订单总金额："></asp:Label>
                <font color="red">
                    <asp:Label ID="LabelOrderPriceValue" runat="server"></asp:Label></font>
            </td>
        </tr>
        <tr>
            <td align="right" colspan="4">
                -<asp:Label ID="LabelAlreadPayPrice" runat="server" Text="已付款金额："></asp:Label>
                <font color="red">
                    <asp:Label ID="LabelAlreadPayPriceValue" runat="server"></asp:Label>
                </font>-<asp:Label ID="LabelSurplusPrice" runat="server" Text="使用佘额："></asp:Label>
                <font color="red">
                    <asp:Label ID="LabelSurplusPriceValue" runat="server"></asp:Label></font> -<asp:Label
                        ID="LabelScorePrice" runat="server" Text="使用积分(积分抵用的金额)："></asp:Label>
                <font color="red">
                    <asp:Label ID="LabelScorePriceValue" runat="server"></asp:Label></font>
            </td>
        </tr>
        <tr>
            <td align="right" colspan="4">
                =<asp:Label ID="LabelShouldPayPrice" runat="server" Text="应付款金额："></asp:Label>
                <font color="red">
                    <asp:Label ID="LabelShouldPayPriceValue" runat="server"></asp:Label>
                </font>
            </td>
        </tr>
        <tr>
            <td align="right" colspan="4">
                <!-- 显示团购的状态 -->
                <asp:Label ID="LabelOrganizeBuyMessage" runat="server" />
            </td>
        </tr>
        <asp:Panel ID="PanelCheckPaymentType" runat="server">
            <tr>
                <td colspan="4" style="width: 100%; background-color: #6699CC;">
                    <div style="color: White; margin: 3px; line-height: 30px; height: 30px">
                        <asp:Label ID="Label32" runat="server" Font-Bold="True" Text="操作信息"></asp:Label>
                    </div>
                </td>
            </tr>
            <tr>
                <td align="right" style="width: 20%;">
                    <asp:Label ID="LabelMemo" runat="server" Text="操作说明："></asp:Label>
                </td>
                <td align="left" colspan="3">
                    <asp:TextBox ID="TextBoxMemo" runat="server" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" style="width: 20%;">
                    <asp:Label ID="LabelName56" runat="server" Text="当前可执行操作："></asp:Label>
                </td>
                <td align="left" colspan="3">
                    <asp:Button ID="ButtonOderStatus1" runat="server" Text="确认" OnClick="ButtonOderStatus1_Click"
                        CssClass="bt2" />
                    &nbsp;
                    <input type="button" value="付款" id="fukuan" class="bt2" runat="server" onclick='loadwindow(600,400);' />
                    &nbsp;<asp:Button ID="ButtonPaymentStatus0" runat="server" Text="设为未付款" OnClick="ButtonPaymentStatus0_Click"
                        CssClass="bt3" />
                    &nbsp;<asp:Button ID="ButtonShipmentStatus3" runat="server" Text="配货" OnClick="ButtonShipmentStatus3_Click"
                        CssClass="bt2" Height="21px" />
                    &nbsp;<asp:Button ID="ButtonShipmentStatus0" runat="server" Text="设为未发货" OnClick="ButtonShipmentStatus0_Click"
                        CssClass="show2" />
                    &nbsp;
                    <input type="button" value="发货" id="fahuo" runat="server" class="bt2" onclick="loadwindow2(600,400);" />
                    &nbsp;<asp:Button ID="ButtonShipmentStatus2" runat="server" Text="已收货" OnClick="ButtonShipmentStatus2_Click"
                        CssClass="bt3" />
                    <input type="button" value="退款" id="sheweiweifukuan" class="bt2" runat="server" onclick='loadwindow1(600,400);' />
                    &nbsp;
                    <input type="button" value="退货" id="tuihuo" runat="server" class="bt2" onclick="loadwindow3(600,400);" />
                    &nbsp;<asp:Button ID="ButtonOderStatus3" runat="server" Text="无效" OnClick="ButtonOderStatus3_Click"
                        CssClass="bt2" />
                    &nbsp;<asp:Button ID="ButtonOderStatus2" runat="server" Text="取消" OnClick="ButtonOderStatus2_Click"
                        CssClass="bt2" />
                    &nbsp;<asp:Button ID="ButtonAfterService" runat="server" Text="售后" OnClick="ButtonAfterService_Click"
                        CssClass="bt2" />
                    &nbsp;<asp:Button ID="ButtonDelete" runat="server" Text="删除" OnClick="ButtonDelete_Click"
                        CssClass="bt2" />
                    &nbsp;
                    <asp:Button ID="ButtonIsUse" runat="server" Text="使用兑换" OnClick="ButtonIsUse_Click"
                        Visible="false" CssClass="bt2" />
                </td>
            </tr>
        </asp:Panel>
        <tr>
            <td align="right" colspan="4">
                <cc1:Num1GridView ID="Num1GridViewShowOrderOperateLog" runat="server" AutoGenerateColumns="False"
                    AllowSorting="True" AscendingImageUrl="~/images/SortAsc.gif" DescendingImageUrl="~/images/SortDesc.gif"
                    Width="100%" AddSequenceColumn="False" AllowMultiColumnSorting="False" BorderColor="#CCDDEF"
                    BorderStyle="Solid" BorderWidth="1px" CellPadding="4" Del="False" DeletePromptText="确实要删除指定的记录吗？"
                    Edit="False" FixHeader="False" GridViewSortDirection="Ascending" PagingStyle="None"
                    Style="margin-left: 2px;" TableName="" Font-Size="Small">
                    <HeaderStyle HorizontalAlign="Center" BackColor="#6699CC" Font-Bold="True" ForeColor="#FFFFFF">
                    </HeaderStyle>
                    <PagerStyle HorizontalAlign="Left" BackColor="#EEEEEE" ForeColor="#6699CC"></PagerStyle>
                    <Columns>
                        <asp:BoundField DataField="Guid" HeaderText="Guid" Visible="False" />
                        <asp:BoundField DataField="CreateUser" HeaderText="操作者">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="OperateDateTime" HeaderText="操作时间">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="订单状态">
                            <ItemTemplate>
                                <asp:Label ID="Label1" runat="server" Text='<%# ChangeOderStatus(DataBinder.Eval(Container, "DataItem(OderStatus)","{0}")) %>'></asp:Label>
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="付款状态">
                            <ItemTemplate>
                                <asp:Label ID="Label2" runat="server" Text='<%# ChangePaymentStatus(DataBinder.Eval(Container, "DataItem(PaymentStatus)","{0}")) %>'></asp:Label>
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="发货状态">
                            <ItemTemplate>
                                <asp:Label ID="Label3" runat="server" Text='<%# ChangeShipmentStatus(DataBinder.Eval(Container, "DataItem(ShipmentStatus)","{0}")) %>'></asp:Label>
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="Memo" HeaderText="操作备注">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                    </Columns>
                </cc1:Num1GridView>
            </td>
        </tr>
        <tr style="background-color: #EEEEEE;">
            <td align="right" style="width: 20%;">
                &nbsp;
            </td>
            <td align="left" colspan="3">
                &nbsp;
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="hiddenFieldGuid" runat="server" />
    <asp:HiddenField ID="HiddenFieldAllWeight" Value="0.00" runat="server" />
    <asp:HiddenField ID="HiddenFieldBuyType" runat="server" Value="0" />
    <asp:HiddenField ID="HiddenFieldDeposit" runat="server" Value="0" />
    <asp:HiddenField ID="HiddenFieldIsPayDeposit" runat="server" Value="0" />
    <asp:HiddenField ID="HiddenFieldActivityGuid" runat="server" Value="0" />
    <asp:HiddenField ID="HiddenFieldPaymentType" runat="server" Value="-1" />
    <asp:HiddenField ID="HiddenFieldMemLoginID" runat="server" Value="0" />
    </form>
</body>
</html>
