<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderList.aspx.cs" Inherits="TopWinCMS.WebUI.Admin.Shop.OrderList" %>

<%@ Register Assembly="TopWinCMS.WebControls" Namespace="TopWinCMS.WebControls" TagPrefix="ajaxToolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>订单清单</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Pragma" content="no-cache" />

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

    <link rel="stylesheet" type="text/css" href="../Style.css" />

    <script language="javascript" type="text/javascript" src="../../Images/skysoft.js"></script>

    <style type="text/css">
        .separator14pxWithClearBoth
        {
            margin-bottom: 10px;
        }
        fieldset
        {
            width: 100%;
            min-width: 768px;
        }
        .style1
        {
            width: 15%;
            height: 43px;
        }
        .style2
        {
            height: 43px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" EnableScriptGlobalization="true" EnableScriptLocalization="true"
        runat="server" />
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:MultiView ID="multiViewOrder" runat="server" ActiveViewIndex="0">
                <!--处理订单-->
                <asp:View ID="viewShowOrderItem" runat="server">
                    <fieldset>
                        <legend>订单信息</legend>
                        <table border="0" style="width: 100%" cellpadding="4" cellspacing="0">
                            <tr>
                                <td align="center" colspan="6" class="title">
                                    <span style="font-weight: bold">订单详细信息 </span>( 订单编号：<asp:Label ID="lblOrderNum"
                                        runat="server"></asp:Label>
                                    )
                                    <asp:Label ID="lblOrderId" runat="server" Visible="False"></asp:Label>
                                </td>
                            </tr>
                            <tr class="tdbg">
                                <td colspan="2" align="left" style="height: 28px">
                                    客户名称：<asp:Label ID="lblContacterName" runat="server" ForeColor="Transparent"> </asp:Label>
                                </td>
                                <td colspan="3" align="left" style="height: 28px">
                                    用 户 名：<asp:Label ID="lblUserName2" runat="server"></asp:Label>
                                </td>
                                <td style="height: 28px;" align="left">
                                    下单时间：<asp:Label ID="lblInputTime" runat="server" ForeColor="Red"></asp:Label>
                                </td>
                            </tr>
                            <tr class="tdbg">
                                <td style="height: 42px;" align="left">
                                    需要发票：<asp:Label ID="lblNeedInvoice" runat="server" ForeColor="Red"></asp:Label>
                                </td>
                                <td style="height: 42px;" align="left">
                                    已开发票：<asp:Label ID="lblInvoiced" runat="server" ForeColor="Red" Style="width: 28px"></asp:Label>
                                </td>
                                <td style="height: 42px;" align="left" colspan="2">
                                    订单状态：<asp:Label ID="lblStatus" runat="server" ForeColor="Red"></asp:Label>
                                </td>
                                <td style="height: 42px;" align="left">
                                    付款情况：<asp:Label ID="lblCheckOutStatus" runat="server" ForeColor="Red"></asp:Label>
                                </td>
                                <td style="height: 42px;" align="left">
                                    物流状态：<asp:Label ID="lblDeliverStatus" runat="server" ForeColor="Red"></asp:Label>
                                </td>
                            </tr>
                            <tr class="tdbg">
                                <td align="left" >
                                     订单状态：</td>
                                <td align="left" colspan="5">
                                    <asp:RadioButtonList ID="RBL_OrderState" runat="server" 
                                        RepeatDirection="Horizontal">
                                        <asp:ListItem>订单取消</asp:ListItem>
                                        <asp:ListItem>未处理</asp:ListItem>
                                        <asp:ListItem>已付款</asp:ListItem>
                                        <asp:ListItem>已收款</asp:ListItem>
                                        <asp:ListItem>已发货</asp:ListItem>
                                        <asp:ListItem>已经签收</asp:ListItem>
                                        <asp:ListItem>完成 </asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                    <div class="separator14pxWithClearBoth">
                    </div>
                    <fieldset>
                        <legend>收货人信息</legend>
                        <table style="width: 100%" border="0" cellpadding="4" cellspacing="0">
                            <tr>
                                <td style="width: 13%" align="right" class="tdbg5">
                                    收货人姓名：
                                </td>
                                <td style="width: 34%" align="left" class="tdbg">
                                    <asp:Label ID="lblContacterName2" runat="server"></asp:Label>
                                </td>
                                <td style="width: 14%" align="right" class="tdbg5">
                                    联系电话：
                                </td>
                                <td style="width: 34%" align="left" class="tdbg">
                                    <asp:Label ID="lblPhone" runat="server" ForeColor="Transparent"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 13%; height: 20px;" align="right" class="tdbg5">
                                    收货人地址：
                                </td>
                                <td style="width: 34%; height: 20px;" align="left" class="tdbg">
                                    <asp:Label ID="lblAddress" runat="server" ForeColor="Transparent"></asp:Label>
                                </td>
                                <td style="width: 14%; height: 20px;" align="right" class="tdbg5">
                                    邮政编码：
                                </td>
                                <td style="width: 34%; height: 20px;" align="left" class="tdbg">
                                    <asp:Label ID="lblZipCode" runat="server" ForeColor="Transparent"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 13%" align="right" class="tdbg5">
                                    收货人邮箱：
                                </td>
                                <td style="width: 34%" align="left" class="tdbg">
                                    <asp:Label ID="lblEmail" runat="server" ForeColor="Transparent"></asp:Label>
                                </td>
                                <td style="width: 14%" align="right" class="tdbg5">
                                    收货人手机：
                                </td>
                                <td style="width: 34%" align="left" class="tdbg">
                                    <asp:Label ID="lblMobile" runat="server"></asp:Label>&nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 13%; height: 20px;" align="right" class="tdbg5">
                                    付款方式：
                                </td>
                                <td style="width: 34%; height: 20px;" align="left" class="tdbg">
                                    <asp:Label ID="lblPaymentType" runat="server"></asp:Label>
                                </td>
                                <td style="width: 14%; height: 20px;" align="right" class="tdbg5">
                                    送货方式：
                                </td>
                                <td style="width: 34%; height: 20px;" align="left" class="tdbg">
                                    <asp:Label ID="lblDeliverType" runat="server"></asp:Label>&nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 13%; height: 21px;" class="tdbg5">
                                    所得积分：
                                </td>
                                <td style="width: 34%; height: 21px;" align="left" class="tdbg">
                                    <asp:Label ID="lblPresentExp" runat="server"></asp:Label>
                                </td>
                                <td align="right" style="width: 14%; height: 21px;" class="tdbg5">
                                    运 &nbsp; &nbsp; &nbsp; 费：
                                </td>
                                <td style="width: 34%; height: 21px;" align="left" class="tdbg">
                                    <asp:Label ID="lblChargeDeliver" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 13%" align="right" class="tdbg5">
                                    发票信息：
                                </td>
                                <td style="width: 34%" align="left" class="tdbg">
                                    <asp:Label ID="lblInvoiceContent" runat="server"></asp:Label>
                                </td>
                                <td style="width: 14%" align="right" class="tdbg5">
                                    备注/留言：
                                </td>
                                <td style="width: 34%" align="left" class="tdbg">
                                    <asp:Label ID="lblRemark" runat="server"></asp:Label>&nbsp;
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                    <div class="separator14pxWithClearBoth">
                    </div>
                    <fieldset style="width: 100%;">
                        <legend>商品信息</legend>
                        <div style="width: 100%; text-align: center">
                            <asp:GridView ID="gridShowOrderItem" runat="server" AutoGenerateColumns="False" Style="width: 100%"
                                CellPadding="4" ForeColor="#333333" GridLines="None" OnRowDataBound="gridShowOrderItem_RowDataBound"
                                HorizontalAlign="Center" RowStyle-HorizontalAlign="Center">
                                <Columns>
                                    <asp:TemplateField HeaderText="商品名称">
                                        <ItemTemplate>
                                            <asp:Label ID="lblItemId" runat="server" Text='<%# Eval("ID") %>' Visible="False"></asp:Label>
                                            &nbsp;
                                            <asp:Label ID="lblProductId" runat="server" Text='<%# Eval("GoodsID") %>' Visible="False"></asp:Label>
                                            <asp:HyperLink ID="lnkProductName" runat="server" Target="_blank"></asp:HyperLink>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="单位">
                                        <ItemTemplate>
                                            &nbsp;<asp:Label ID="lblUnit" runat="server"></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="Quantity" HeaderText="数量" SortExpression="Quantity">
                                        <ItemStyle HorizontalAlign="Right" Width="60px" />
                                    </asp:BoundField>
                                    <asp:TemplateField HeaderText="原价" SortExpression="OriginalPrice">
                                        <EditItemTemplate>
                                            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("OriginalPrice") %>'></asp:TextBox>
                                        </EditItemTemplate>
                                        <ItemTemplate>
                                            <asp:Label ID="lblPriceOriginal" runat="server" Text='<%# Bind("OriginalPrice", "{0:c}") %>'
                                                Font-Overline="false"></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Right" />
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="实价" SortExpression="price">
                                        <EditItemTemplate>
                                            <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("price") %>'></asp:TextBox>
                                        </EditItemTemplate>
                                        <ItemTemplate>
                                            <asp:Label ID="lblPrice" runat="server" Text='<%# Bind("price", "{0:c}") %>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Right" />
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="金 额" SortExpression="subTotal">
                                        <EditItemTemplate>
                                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("subTotal") %>'></asp:Label>
                                        </EditItemTemplate>
                                        <ItemTemplate>
                                            <asp:Label ID="lblSubTotal" runat="server" 
                                                Text='<%# Bind("subTotal", "{0:c}") %>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Right" />
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="备注" SortExpression="remark">
                                        <ItemTemplate>
                                            <asp:Label ID="lblRemark" runat="server" Text='<%# Bind("remark") %>'></asp:Label>
                                        </ItemTemplate>
                                        <HeaderStyle Width="160px" />
                                    </asp:TemplateField>
                                </Columns>
                                <FooterStyle BackColor="#799AE1" Font-Bold="True" ForeColor="White" />
                                <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center" />
                                <EditRowStyle BackColor="#2461BF" />
                                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                <HeaderStyle BackColor="#449AE8" Font-Bold="True" ForeColor="White" Font-Size="12px" />
                                <AlternatingRowStyle BackColor="White" />
                            </asp:GridView>
                        </div>
                        <table style="width: 100%" border="0" cellpadding="4" cellspacing="0">
                            <tr>
                                <td align="right" colspan="2">
                                </td>
                                <td align="left" colspan="3">
                                    &nbsp;&nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    &nbsp;运费： &nbsp;<asp:Label ID="lblChargeDeliver2" runat="server" ForeColor="Red"
                                        Text="￥0.00"></asp:Label>&nbsp;&nbsp;<br />
                                    实际金额：<asp:Label ID="lblMoneyGoods2" runat="server" ForeColor="Red" Text="￥0.00" ToolTip="实际金额"></asp:Label>
                                    &nbsp;＋&nbsp;<asp:Label ID="lblChargeDeliver3" runat="server" ForeColor="Red" Text="￥0.00" ToolTip="运费"></asp:Label>
                                    ＝<asp:Label ID="lblTotal2" runat="server" ForeColor="Red" Text="0.00"></asp:Label>
                                    &nbsp;
                                </td>
                                <td align="right">
                                    商品总金额：<br />
                                    合计：
                                </td>
                                <td align="left" style="width: 165px">
                                    <asp:Label ID="lblMoneyGoods" runat="server" Text='<%# string.Format("{0:C}", Eval("moneyGoods")) %>'
                                        ForeColor="Red"></asp:Label>
                                    <br />
                                    <asp:Label ID="lblTotal" runat="server" Style="width: 20px" ForeColor="Red"></asp:Label>
                                </td>
                                <td align="left">
                                    已付款：<asp:Label ID="lblMoneyReceived" runat="server" ForeColor="Red"></asp:Label><br />
                                    尚欠款：<asp:Label ID="lblArrearage" runat="server" ForeColor="Blue"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                    <div class="separator14pxWithClearBoth">
                    </div>
                    <div style="width: 100%" id="ModifyOrderInfo_operate">
                        <table border="0" cellpadding="4" cellspacing="0" style="width: 100%; height: 60px;">
                            <tr>
                                <td align="center" style="height: 62px">
                                    <asp:Button ID="btnModifyOrderInfo" runat="server" Text="修改订单" OnClick="btnModifyOrderInfo_Click"
                                        CssClass="btn" />
                                    <asp:Button ID="btnPreConfirmOrder" Text="确认订单" runat="server" OnClick="btnConfirmOrder_Click"
                                        CssClass="btn" /><asp:Button ID="btnCancelConfirmOrder" runat="server" Text="取消确认"
                                            OnClick="btnCancelConfirmOrder_Click" CssClass="btn" /><asp:Button ID="btnDeleteOrder"
                                                runat="server" Text="删除订单" CausesValidation="False" OnClientClick="confirm('确定要删除此订单吗？')"
                                                OnClick="btnDeleteOrder_Click" CssClass="btn" />
                                    <asp:Button ID="btnRemitAndPay" runat="server"
                                                    Text="银行汇款支付" 
                                        OnClick="btnRemitAndPay_Click" CssClass="btnl" />
                                    <asp:Button
                                                        ID="btnAddPaymentorder" runat="server" Text="虚拟货币支付"  OnClick="btnAddPaymentorder_Click"
                                                        CssClass="btnl" /><asp:Button ID="btnRefund" runat="server" Text="退 款" OnClick="btnRefund_Click"
                                                            CssClass="btn" /><asp:Button ID="btnSendGoods" runat="server" Text="发 货 " OnClick="btnSendGoods_Click"
                                                                CssClass="btn" /><asp:Button ID="btnReceived" runat="server" OnClick="btnReceived_Click"
                                                                    OnClientClick='return confirm("确定客户已经签收了吗？")' Text="客户已签收" CssClass="btn" />
                                    <asp:Button ID="btnReturnGoods" runat="server" Text="退 货" OnClick="btnReturnGoods_Click"
                                        CssClass="btn" />
                                    &nbsp;
                                    <asp:Button ID="btnInvoice" runat="server" OnClick="btnInvoice_Click" Text="开发票"
                                        CssClass="btn" />
                                    &nbsp;
                                    <asp:Button ID="btnEndOrder" runat="server" Text="结清订单" OnClick="btnEndOrder_Click"
                                        CssClass="btn" />
                                    <asp:Button ID="btnPrintOrder" runat="server" Text="打印订单" OnClick="btnPrintOrder_Click"
                                        CssClass="btn" />
                                </td>
                            </tr>
                            <tr>
                                <td align="center">
                                    <br />
                                    <b>注：</b>“<span style="color: blue">原价</span> ”指商品的原始零售价，“<span style="color: green">实价</span>
                                    ”指系统根据 <a href="../Admin_Help_Price.aspx" target="_blank">最终价格计算公式表</a> 
                                    自动计算出来的商品最终价格，“<span
                                        style="color: red">指定价</span> ”指管理员手动指定的最终价格。商品的最终销售价格以“指定价”为准。<br />
                                </td>
                            </tr>
                        </table>
                    </div>
                    <ajaxToolkit:ConfirmButtonExtender ID="ConfirmButtonExtender2" runat="server" TargetControlID="btnPreConfirmOrder"
                        DisplayModalPopupID="ModalPopupExtender1" />
                    <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="btnPreConfirmOrder"
                        PopupControlID="PNL" OkControlID="btnConfirmOrder" CancelControlID="ButtonCancel"
                        BackgroundCssClass="modalBackground" X="300" Y="220" />
                    <asp:Panel ID="PNL" runat="server" Style="display: none; width: 200px; background-color: White;
                        border-width: 2px; border-color: Black; border-style: solid; padding: 20px;">
                        <table>
                            <tr>
                                <td>
                                    请仔细检查此订单的所有信息，特别是实际销售价,开始计算服务日期等信息，确定无误后点“确认订单”按钮，否则请点击“取消”按钮。
                                </td>
                            </tr>
                            <tr>
                                <td align="center">
                                    <asp:Button ID="btnConfirmOrder" runat="server" Text="确认订单" Style="width: 70px" />
                                    &nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="ButtonCancel" runat="server" Text=" 取 消 " />
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                    <!--暂时不用-->
                    <div style="display: none">
                        <table cellspacing="0" cellpadding="0" style="width: 100%" border="0">
                            <tbody>
                                <tr align="center" style="height: 20px">
                                    <td class="title6" id="tabTitle0" onclick="ShowTabs(0)">
                                        付款信息
                                    </td>
                                    <td class="title5" id="tabTitle1" onclick="ShowTabs(1)">
                                        发票记录
                                    </td>
                                    <td class="title5" id="tabTitle2" onclick="ShowTabs(2)">
                                        发退货记录
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <table class="border" id="tabs0" cellspacing="1" cellpadding="2" style="width: 100%"
                            border="0">
                            <tbody>
                                <tr class="title" align="center">
                                    <td style="width: 80px">
                                        客户名称
                                    </td>
                                    <td style="width: 60px">
                                        用户名
                                    </td>
                                    <td style="width: 120px">
                                        交易时间
                                    </td>
                                    <td style="width: 60px">
                                        交易方式
                                    </td>
                                    <td style="width: 50px">
                                        币种
                                    </td>
                                    <td style="width: 60px">
                                        支出金额
                                    </td>
                                    <td>
                                        备注/说明
                                    </td>
                                    <td style="width: 40px">
                                        操作
                                    </td>
                                </tr>
                                <tr class="tdbg" onmouseover="this.className='tdbgmouseover'" onmouseout="this.className='tdbg'">
                                    <td align="center" style="width: 80px">
                                        <a href="">1</a>
                                    </td>
                                    <td align="center" style="width: 60px">
                                        admin
                                    </td>
                                    <td align="center" style="width: 120px">
                                        2007-8-21 10:33:25
                                    </td>
                                    <td align="center" style="width: 60px">
                                        虚拟货币
                                    </td>
                                    <td align="center" style="width: 50px">
                                        人民币
                                    </td>
                                    <td align="right" style="width: 60px">
                                        -80.00
                                    </td>
                                    <td>
                                        支付订单费用，订单号：2007082110331983
                                    </td>
                                    <td align="center" style="width: 40px">
                                        <a href="./">查看</a>
                                    </td>
                                </tr>
                                <tr class="tdbg" onmouseover="this.className='tdbgmouseover'" onmouseout="this.className='tdbg'">
                                    <td align="right" colspan="5">
                                        合计金额：
                                    </td>
                                    <td align="right">
                                        -80.00
                                    </td>
                                    <td align="center" colspan="3">
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <table class="border" id="tabs1" style="display: none; width: 100%" cellspacing="1"
                            cellpadding="2" border="0">
                            <tbody>
                                <tr class="title" align="center">
                                    <td style="width: 80px">
                                        日期
                                    </td>
                                    <td style="width: 80px">
                                        发票类型
                                    </td>
                                    <td style="width: 80px">
                                        发票号码
                                    </td>
                                    <td style="width: 19px">
                                        发票抬头
                                    </td>
                                    <td style="width: 60px">
                                        发票金额
                                    </td>
                                    <td style="width: 60px">
                                        开票人
                                    </td>
                                    <td style="width: 60px">
                                        录入员
                                    </td>
                                    <td style="width: 120px">
                                        录入时间
                                    </td>
                                    <td style="width: 40px">
                                        操作
                                    </td>
                                </tr>
                                <tr class="tdbg">
                                    <td align="center" colspan="20" style="height: 50px">
                                        没有相关发票记录
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <table class="border" id="tabs2" style="display: none; width: 100%" cellspacing="1"
                            cellpadding="2" border="0">
                            <tbody>
                                <tr class="title" align="center">
                                    <td style="width: 80px">
                                        日期
                                    </td>
                                    <td style="width: 80px">
                                        发货/客户退货
                                    </td>
                                    <td style="width: 80px">
                                        快递公司名
                                    </td>
                                    <td style="width: 80px">
                                        快递单号
                                    </td>
                                    <td style="width: 60px">
                                        经手人
                                    </td>
                                    <td style="width: 60px">
                                        录入员
                                    </td>
                                    <td style="width: 60px">
                                        客户已签收
                                    </td>
                                    <td>
                                        备注/退货原因
                                    </td>
                                    <td style="width: 40px">
                                        操作
                                    </td>
                                </tr>
                                <tr class="tdbg">
                                    <td align="center" colspan="20" style="height: 50px">
                                        没有相关发退货记录
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div style="width: 98%; text-align: left">
                        <br />
                        <b><span style="color: #0000ff">订单处理流程：</span></b>①客户下单 --&gt; ②修改订单 --&gt; ③确认订单 --&gt; 
                        ④添加汇款信息/添加支付信息 --&gt; ⑤发货，开发票 --&gt; ⑥结清订单<br />
                        <br />
                        <b><span style="color: #0000ff">①客户下单</span></b>——指客户在前台选购商品，并生成订单。<br />
                        <span style="color: #0000ff"><b>②修改订单</b></span>——指根据与客户联系，确认有关订单信息是否正确，录入与客户谈定的实际销售价等。<br />
                        <b><span style="color: #0000ff">③确认订单</span></b>——指确认订单正确无误后，将此订单锁定以防客户修改订单内容。<span
                            style="color: #006600">订单一旦被确认后，客户就不可再修改或删除，管理员也不能修改订单中的商品数据。</span><br />
                        <b><span style="color: #0000ff">④银行汇款支付</span></b>——指确认客户从银行汇的款项到账后，为客户录入汇款信息，<span
                            style="color: red">然后支付此订单费用。</span><br />
                        <b><span style="color: #0000ff">&nbsp;&nbsp;虚拟货币支付</span></b>——指从客户的资金余额中直接扣除款项用于支付此订单费用。<br />
                        <b><span style="color: #0000ff">⑤发货</span></b>——指录入此订单的发货信息。<br />
                        <b><span style="color: #0000ff">⑥结清订单</span></b>——指当以上步骤都完成后，客户也已经付清此订单的所有款项后，将此订单结清。结清时赠送积分。<span
                            style="color: #ff0000">结清后，此订单的所有相关信息都不可再修改。</span><br />
                    </div>
                </asp:View>
                <!---修改订单  begin--->
                <asp:View ID="viewModifyOrderInfo" runat="server">
                    <table border="1" style="width: 100%" cellpadding="4" cellspacing="0">
                        <tr>
                            <td align="center" colspan="5" class="title">
                                <span style="font-weight: bold">修改订单详细信息 </span>( 订单编号：<asp:Label ID="lblOrderNum8"
                                    runat="server"></asp:Label>
                                )
                                <asp:Label ID="lblOrderId8" runat="server" Visible="False"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td colspan="2" align="left" style="height: 28px">
                                客户名称：<asp:Label ID="lblContacterName8" runat="server" ForeColor="Transparent"> </asp:Label>
                            </td>
                            <td colspan="2" align="left" style="height: 28px">
                                用 户 名：<asp:Label ID="lblUserName8" runat="server"></asp:Label>
                            </td>
                            <td style="height: 28px;" align="left">
                                下单时间：<asp:Label ID="lblInputTime8" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td style="height: 42px;" align="left">
                                需要发票：<asp:Label ID="lblNeedInvoice8" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                            <td style="height: 42px;" align="left">
                                已开发票：<asp:Label ID="lblInvoiced8" runat="server" ForeColor="Red" Style="width: 28px"></asp:Label>
                            </td>
                            <td style="height: 42px;" align="left">
                                订单状态：<asp:Label ID="lblStatus8" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                            <td style="height: 42px;" align="left">
                                付款情况：<asp:Label ID="lblCheckOutStatus8" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                            <td style="height: 42px;" align="left">
                                物流状态：<asp:Label ID="lblDeliverStatus8" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                    </table>
                    <div class="separator14pxWithClearBoth">
                    </div>
                    <table style="width: 100%" border="1" cellpadding="4" cellspacing="0">
                        <tr>
                            <td style="width: 13%" align="right" class="tdbg5">
                                收货人姓名：
                            </td>
                            <td style="width: 34%" align="left" class="tdbg">
                                <asp:TextBox ID="txtContacterName8" runat="server"></asp:TextBox>
                                <span style="color: #ff0000">* &nbsp;<asp:Label ID="lblContacterMsg8" runat="server"
                                    ForeColor="Red"></asp:Label></span>
                            </td>
                            <td style="width: 14%" align="right" class="tdbg5">
                                联系电话：
                            </td>
                            <td style="width: 36%" align="left" class="tdbg">
                                <asp:TextBox ID="txtPhone8" runat="server" ForeColor="Transparent"></asp:TextBox>
                                <span style="color: #ff0000">*
                                    <asp:Label ID="lblPhoneMsg8" runat="server" ForeColor="Red"></asp:Label></span>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 13%; height: 20px;" align="right" class="tdbg5">
                                收货人地址：
                            </td>
                            <td style="width: 34%; height: 20px;" align="left" class="tdbg">
                                <asp:TextBox ID="txtAddress8" runat="server" ForeColor="Transparent"></asp:TextBox>
                                <span style="color: #ff0000">*
                                    <asp:Label ID="lblAddressMsg8" runat="server" ForeColor="Red"></asp:Label></span>
                            </td>
                            <td style="width: 14%; height: 20px;" align="right" class="tdbg5">
                                邮政编码：
                            </td>
                            <td style="width: 36%; height: 20px;" align="left" class="tdbg">
                                <asp:TextBox ID="txtZipCode8" runat="server" ForeColor="Transparent"></asp:TextBox>
                                <span style="color: #ff0000">*
                                    <asp:Label ID="lblZipCodeMsg8" runat="server" ForeColor="Red"></asp:Label></span>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 13%" align="right" class="tdbg5">
                                收货人邮箱：
                            </td>
                            <td style="width: 34%" align="left" class="tdbg">
                                <asp:TextBox ID="txtEmail8" runat="server" ForeColor="Transparent"></asp:TextBox>
                                <span style="color: #ff0000">*
                                    <asp:Label ID="lblEmailMsg8" runat="server" ForeColor="Red"></asp:Label></span>
                            </td>
                            <td style="width: 14%" align="right" class="tdbg5">
                                收货人手机：
                            </td>
                            <td style="width: 36%" align="left" class="tdbg">
                                <asp:TextBox ID="txtMobile8" runat="server"></asp:TextBox>&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 13%; height: 20px;" align="right" class="tdbg5">
                                付款方式：
                            </td>
                            <td style="width: 34%; height: 20px;" align="left" class="tdbg">
                                <asp:DropDownList ID="drpPaymentType8" runat="server">
                                </asp:DropDownList>
                            </td>
                            <td style="width: 14%; height: 20px;" align="right" class="tdbg5">
                                送货方式：
                            </td>
                            <td style="width: 36%; height: 20px;" align="left" class="tdbg">
                                <asp:DropDownList ID="drpDeliverType8" runat="server" AutoPostBack="True" OnSelectedIndexChanged="listDeliverType8_SelectedIndexChanged">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 13%; height: 21px;" class="tdbg5">
                                需要发票：
                            </td>
                            <td style="width: 34%; height: 21px;" align="left" class="tdbg">
                                <asp:CheckBox ID="chkNeedInvoice8" runat="server" />
                            </td>
                            <td align="right" style="width: 14%; height: 21px;" class="tdbg5">
                                运 &nbsp; &nbsp; &nbsp; 费：
                            </td>
                            <td style="width: 36%; height: 21px;" align="left" class="tdbg">
                                <asp:TextBox ID="txtChargeDeliver8" runat="server"></asp:TextBox>
                                <asp:Label ID="lblChargeDeliverMsg8" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 13%" align="right" class="tdbg5">
                                发票信息：
                            </td>
                            <td style="width: 34%" align="left" class="tdbg">
                                <asp:TextBox ID="txtInvoiceContent8" runat="server" TextMode="MultiLine" Style="width: 250px"
                                    Height="60px"></asp:TextBox>
                            </td>
                            <td style="width: 14%" align="right" class="tdbg5">
                                备注/留言：
                            </td>
                            <td style="width: 36%" align="left" class="tdbg">
                                <asp:TextBox ID="txtRemark8" runat="server" TextMode="MultiLine" Style="width: 250px"
                                    Height="60px"></asp:TextBox>&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td align="center" class="tdbg" colspan="4" style="height: 60px">
                                <asp:Button ID="btnConfirmModifyOrder" runat="server" Text="确 定" OnClick="btnConfirmModifyOrder_Click"
                                    CssClass="btn" />
                                &nbsp;
                                <asp:Button ID="btnCancelModifyOrder" runat="server" Text="返回" OnClick="btnCancelModifyOrder_Click"
                                    CssClass="btn" />
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td align="center" class="tdbg" colspan="4" style="height: 60px">
                                <asp:GridView ID="gridModifyOrderItems" runat="server" AutoGenerateColumns="False"
                                    Style="width: 100%" CellPadding="4" ForeColor="#333333" GridLines="None" OnRowDataBound="gridModifyOrderItems_RowDataBound"
                                    OnSelectedIndexChanging="gridModifyOrderItems_SelectedIndexChanging">
                                    <Columns>
                                        <asp:TemplateField HeaderText="商品名称">
                                            <ItemTemplate>
                                                <asp:Label ID="lblItemId8" runat="server" Text='<%# Eval("ID") %>' Visible="False"></asp:Label>
                                                <asp:Label ID="txtProductName8" runat="server" ReadOnly="True" Style="width: 200px"></asp:Label>
                                                <asp:Label ID="lblProductId8" runat="server" Text='<%# Eval("GoodsID") %>' Visible="False"></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="单位">
                                            <ItemTemplate>
                                                <asp:Label ID="txtUnit8" runat="server" ReadOnly="True" Style="width: 40px"></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="数量">
                                            <ItemTemplate>
                                                <asp:TextBox ID="txtQuantity8" runat="server" ReadOnly="True" Text='<%# Eval("Quantity") %>'
                                                    Style="width: 40px"></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="原价">
                                            <ItemTemplate>
                                                <asp:Label ID="txtPriceOriginal8" runat="server"  Text='<%# Eval("OriginalPrice", "{0:N2}") %>'
                                                    Style="width: 80px"></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="实价">
                                            <ItemTemplate>
                                                <asp:TextBox ID="txtPrice8" runat="server" ReadOnly="True" Text='<%# Eval("price", "{0:N2}") %>'
                                                    Style="width: 80px"></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                     
                                        <asp:TemplateField HeaderText="备注">
                                            <ItemTemplate>
                                                <asp:TextBox ID="txtRemark8" runat="server" Text='<%# Eval("remark") %>' Style="width: 150px"></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:CommandField ControlStyle-CssClass="btn" ButtonType="Button" SelectText="修改" ShowSelectButton="True" />
                                    </Columns>
                                    <FooterStyle BackColor="#799AE1" Font-Bold="True" ForeColor="White" />
                                    <RowStyle BackColor="#EFF3FB" />
                                    <EditRowStyle BackColor="#2461BF" />
                                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                    <HeaderStyle BackColor="#449AE8" Font-Bold="True" ForeColor="White" />
                                    <AlternatingRowStyle BackColor="White" />
                                </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="4" style="height: 60px">
                                <br />
                                <b>注：</b>“<span style="color: blue">原价</span> ”指商品的原始零售价，“<span style="color: green">实价</span>
                                ”指系统根据 <a href="../Admin_Help_Price.aspx" target="_blank">最终价格计算公式表</a> 
                                自动计算出来的商品最终价格，“<span
                                    style="color: red">指定价</span> ”指管理员手动指定的最终价格。商品的最终销售价格以“指定价”为准。<br />
                            </td>
                        </tr>
                    </table>
                </asp:View>
                <!-- 添 加 订 单 汇 款 信 息 begin -->
                <asp:View ID="viewRemitAndPay" runat="server">
                    <br />
                    <table border="0" cellpadding="2" cellspacing="1" class="border" style="width: 100%"
                        id="TABLE1">
                        <tr align="center" class="title">
                            <td colspan="2" align="center" style="height: 22px">
                                <b>添 加 订 单 汇 款 信 息</b>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%; height: 23px">
                                客户名称：
                            </td>
                            <td style="height: 23px">
                                <asp:Label ID="lblContacterName9" runat="server"></asp:Label>
                                <asp:Label ID="lblOrderId9" runat="server" Visible="False"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%; height: 23px">
                                用户名：
                            </td>
                            <td style="height: 23px">
                                <asp:Label ID="lblUserName9" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%; height: 85px">
                                支付内容：
                            </td>
                            <td style="height: 85px">
                                <table border="0" cellpadding="0" cellspacing="2">
                                    <tr class="tdbg">
                                        <td align="right" class="tdbg5" style="width: 15%; height: 19px;">
                                            订单编号：
                                        </td>
                                        <td style="height: 19px">
                                            <asp:Label ID="lblOrderNum9" runat="server"></asp:Label>
                                        </td>
                                        <td style="height: 19px">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr class="tdbg">
                                        <td align="right" class="tdbg5" style="width: 15%">
                                            订单金额：
                                        </td>
                                        <td>
                                            <asp:Label ID="lblMoneyTotal9" runat="server"></asp:Label>
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr class="tdbg">
                                        <td align="right" class="tdbg5" style="width: 15%">
                                            已 付 款：
                                        </td>
                                        <td>
                                            <asp:Label ID="lblMoneyReceived9" runat="server"></asp:Label>
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                汇款日期：
                            </td>
                            <td>
                                &nbsp;<asp:TextBox ID="txtDateAndTime9" runat="server"></asp:TextBox>
                                <ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" Format="yyyy-MM-dd"
                                    TargetControlID="txtDateAndTime9">
                                </ajaxToolkit:CalendarExtender>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%; height: 28px">
                                汇款金额：
                            </td>
                            <td style="height: 28px">
                                &nbsp;<asp:TextBox ID="txtMoney9" runat="server"></asp:TextBox>
                                元
                                <asp:Label ID="lblMoneyMsg9" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                汇入银行：
                            </td>
                            <td>
                                &nbsp;<asp:DropDownList ID="drpBank9" runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%; height: 28px">
                                备注：
                            </td>
                            <td style="height: 28px">
                                &nbsp;<asp:TextBox ID="txtRemark9" runat="server" Rows="3" TextMode="MultiLine" Width="450px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td colspan="2" style="height: 30px">
                                <b><span style="color: #ff0000">注意：汇款信息一旦录入，就不能再修改或删除！所以在保存之前确认输入无误！</span></b>
                            </td>
                        </tr>
                        <tr align="center" class="tdbg">
                            <td colspan="2" style="height: 30px" align="center">
                                &nbsp;<asp:Button ID="btnSaveRemitAndPayInfo" runat="server" Text="保存" OnClientClick='return confirm("确定所输入的信息都完全正确吗?一旦输入就不可更改哦!")'
                                    OnClick="btnSaveRemitAndPayInfo_Click" CssClass="btn" />
                                &nbsp;&nbsp;
                            </td>
                        </tr>
                    </table>
                </asp:View>
                <!--录 入 发 货 信 息 begin -->
                <asp:View ID="viewSaveDeliverInfo" runat="server">
                    <br />
                    <table border="0" cellpadding="2" cellspacing="1" class="border" style="width: 100%">
                        <tr align="center" class="title">
                            <td align="center" colspan="2" style="height: 22px">
                                <b>录 入 发 货 信 息</b>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                客户名称：
                            </td>
                            <td>
                                <asp:Label ID="lblRealName5" runat="server"></asp:Label>
                                <asp:Label ID="lblOrderId5" runat="server" Visible="False"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                用户名：
                            </td>
                            <td>
                                <asp:Label ID="lblUserName5" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="style1">
                                收货人姓名：
                            </td>
                            <td class="style2">
                                &nbsp;<asp:Label ID="lblContacterName5" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%; height: 23px;">
                                订单编号：
                            </td>
                            <td style="height: 23px">
                                <asp:Label ID="lblOrderNum5" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                订单金额：
                            </td>
                            <td>
                                <asp:Label ID="lblMoneyTotal5" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                已 付 款：
                            </td>
                            <td>
                                <asp:Label ID="lblMoneyReceived5" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                送货方式：
                            </td>
                            <td>
                                <asp:Label ID="lblDeliverTypeName5" runat="server"></asp:Label>
                                &nbsp;<span style="color: blue">客户指定的送货方式</span>
                            </td>
                        </tr>
                        <tr class="tdbg" style="display:none">
                            <td align="right" class="tdbg5" style="width: 15%">
                                发货日期：
                            </td>
                            <td>
                                &nbsp;<asp:TextBox ID="txtDeliverDate5" runat="server"></asp:TextBox>&nbsp;
                                <asp:Label ID="lblDeliverDateMsg5" runat="server" ForeColor="Red"></asp:Label>
                                <ajaxToolkit:CalendarExtender ID="CalendarExtender5" runat="server" Format="yyyy-MM-dd"
                                    TargetControlID="txtDeliverDate5">
                                </ajaxToolkit:CalendarExtender>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="height: 28px; width: 15%">
                                快递公司：
                            </td>
                            <td style="height: 28px">
                                &nbsp;<asp:TextBox ID="txtExpressCompany5" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                快递单号：
                            </td>
                            <td>
                                &nbsp;<asp:TextBox ID="txtExpressNum5" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                经 手 人：
                            </td>
                            <td>
                                &nbsp;<asp:TextBox ID="txtHandlerName5" runat="server"></asp:TextBox>&nbsp;<strong><span
                                    style="color: red"> * </span></strong>&nbsp;<asp:Label ID="lblHandlerNameMsg5" runat="server"
                                        ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                备 &nbsp; &nbsp;注：
                            </td>
                            <td>
                                &nbsp;<asp:TextBox ID="txtRemark5" runat="server" Rows="3" TextMode="MultiLine" Width="450px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr align="center" class="tdbg">
                            <td align="center" colspan="2" style="height: 30px">
                                <asp:Button ID="btnDeliverConfirm" runat="server" Text="确 定" OnClientClick="return confirm('确定录入的发货信息都正确无误了吗？')"
                                    OnClick="btnDeliverConfirm_Click" CssClass="btn" />&nbsp; &nbsp;&nbsp;
                            </td>
                        </tr>
                    </table>
                </asp:View>
                <!--  打印订 单 信 息  begin-->
                <asp:View ID="viewPrintOrder" runat="server">
                    <table border="1" style="width: 100%" cellpadding="4" cellspacing="0">
                        <tr>
                            <td align="center" colspan="5" class="title">
                                <span style="font-weight: bold">订单详细信息 </span>( 订单编号：<asp:Label ID="lblOrderNum6"
                                    runat="server"></asp:Label>
                                )
                                <asp:Label ID="lblOrderId6" runat="server" Visible="False"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td colspan="2" align="left" style="height: 28px">
                                客户名称：<asp:Label ID="lblContacterName6" runat="server" ForeColor="Transparent"> </asp:Label>
                            </td>
                            <td colspan="2" align="left" style="height: 28px">
                                用 户 名：<asp:Label ID="lblUserName6" runat="server"></asp:Label>
                            </td>
                            <td style="height: 28px;" align="left">
                                下单时间：<asp:Label ID="lblInputTime6" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td style="height: 42px;" align="left">
                                需要发票：<asp:Label ID="lblNeedInvoice6" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                            <td style="height: 42px;" align="left">
                                已开发票：<asp:Label ID="lblInvoiced6" runat="server" ForeColor="Red" Style="width: 28px"></asp:Label>
                            </td>
                            <td style="height: 42px;" align="left">
                                订单状态：<asp:Label ID="lblStatus6" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                            <td style="height: 42px;" align="left">
                                付款情况：<asp:Label ID="lblCheckOutStatus6" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                            <td style="height: 42px;" align="left">
                                物流状态：<asp:Label ID="lblDeliverStatus6" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                    </table>
                    <div class="separator14pxWithClearBoth">
                    </div>
                    <table style="width: 100%" border="1" cellpadding="4" cellspacing="0">
                        <tr>
                            <td style="width: 13%" align="right" class="tdbg5">
                                收货人姓名：
                            </td>
                            <td style="width: 34%" align="left" class="tdbg">
                                <asp:Label ID="lblContacterName62" runat="server"></asp:Label>
                            </td>
                            <td style="width: 14%" align="right" class="tdbg5">
                                联系电话：
                            </td>
                            <td style="width: 34%" align="left" class="tdbg">
                                <asp:Label ID="lblPhone6" runat="server" ForeColor="Transparent"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 13%; height: 20px;" align="right" class="tdbg5">
                                收货人地址：
                            </td>
                            <td style="width: 34%; height: 20px;" align="left" class="tdbg">
                                <asp:Label ID="lblAddress6" runat="server" ForeColor="Transparent"></asp:Label>
                            </td>
                            <td style="width: 14%; height: 20px;" align="right" class="tdbg5">
                                邮政编码：
                            </td>
                            <td style="width: 34%; height: 20px;" align="left" class="tdbg">
                                <asp:Label ID="lblZipCode6" runat="server" ForeColor="Transparent"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 13%" align="right" class="tdbg5">
                                收货人邮箱：
                            </td>
                            <td style="width: 34%" align="left" class="tdbg">
                                <asp:Label ID="lblEmail6" runat="server" ForeColor="Transparent"></asp:Label>
                            </td>
                            <td style="width: 14%" align="right" class="tdbg5">
                                收货人手机：
                            </td>
                            <td style="width: 34%" align="left" class="tdbg">
                                <asp:Label ID="lblMobile6" runat="server"></asp:Label>&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 13%; height: 20px;" align="right" class="tdbg5">
                                付款方式：
                            </td>
                            <td style="width: 34%; height: 20px;" align="left" class="tdbg">
                                <asp:Label ID="lblPaymentType6" runat="server"></asp:Label>
                            </td>
                            <td style="width: 14%; height: 20px;" align="right" class="tdbg5">
                                送货方式：
                            </td>
                            <td style="width: 34%; height: 20px;" align="left" class="tdbg">
                                <asp:Label ID="lblDeliverType6" runat="server"></asp:Label>&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 13%; height: 21px;" class="tdbg5">
                                所得积分：
                            </td>
                            <td style="width: 34%; height: 21px;" align="left" class="tdbg">
                                <asp:Label ID="lblPresentExp6" runat="server"></asp:Label>
                            </td>
                            <td align="right" style="width: 14%; height: 21px;" class="tdbg5">
                                运 &nbsp; &nbsp; &nbsp; 费：
                            </td>
                            <td style="width: 34%; height: 21px;" align="left" class="tdbg">
                                <asp:Label ID="lblChargeDeliver6" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 13%" align="right" class="tdbg5">
                                发票信息：
                            </td>
                            <td style="width: 34%" align="left" class="tdbg">
                                <asp:Label ID="lblInvoiceContent6" runat="server"></asp:Label>
                            </td>
                            <td style="width: 14%" align="right" class="tdbg5">
                                备注/留言：
                            </td>
                            <td style="width: 34%" align="left" class="tdbg">
                                <asp:Label ID="lblRemark6" runat="server"></asp:Label>
                            </td>
                        </tr>
                    </table>
                    <div class="separator14pxWithClearBoth">
                    </div>
                    <asp:GridView ID="gridPrintOrder6" runat="server" AutoGenerateColumns="False" Style="width: 100%"
                        CellPadding="4" ForeColor="#333333" GridLines="None" OnRowDataBound="gridPrintOrder6_RowDataBound"
                        HorizontalAlign="Center" RowStyle-HorizontalAlign="Center">
                        <Columns>
                            <asp:TemplateField HeaderText="商品名称">
                                <ItemTemplate>
                                    <asp:Label ID="lblItemId" runat="server" Text='<%# Eval("ID") %>' Visible="False"></asp:Label>
                                    &nbsp;
                                    <asp:Label ID="lblProductId" runat="server" Text='<%# Eval("GoodsID") %>' Visible="False"></asp:Label>
                                    <asp:Label ID="lblProductName" runat="server"></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="单位">
                                <ItemTemplate>
                                    &nbsp;<asp:Label ID="lblUnit" runat="server"></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="Quantity" HeaderText="数量" SortExpression="Quantity">
                                <ItemStyle HorizontalAlign="Right" Width="80px" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="原价" SortExpression="Originalprice">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Originalprice") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="lblPriceOriginal" runat="server" Text='<%# Bind("Originalprice", "{0:c}") %>'
                                        Font-Overline="false"></asp:Label>
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Right" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="实价" SortExpression="price">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("price", "{0:c}") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="lblPrice" runat="server" Text='<%# Bind("price", "{0:c}") %>'></asp:Label>
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Right" />
                            </asp:TemplateField>
                          
                            <asp:TemplateField HeaderText="金 额" SortExpression="subTotal">
                                <EditItemTemplate>
                                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("subTotal") %>'></asp:Label>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="lblSubTotal" runat="server" Text='<%# Bind("subTotal", "{0:c}") %>'></asp:Label>
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Right" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="备注" SortExpression="remark">
                                <ItemTemplate>
                                    <asp:Label ID="lblRemark" runat="server" Text='<%# Bind("remark") %>'></asp:Label>
                                </ItemTemplate>
                                <ItemStyle Width="160px" />
                            </asp:TemplateField>
                        </Columns>
                        <FooterStyle BackColor="#799AE1" Font-Bold="True" ForeColor="White" />
                        <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center" />
                        <EditRowStyle BackColor="#2461BF" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#449AE8" Font-Bold="True" ForeColor="White" Font-Size="12px" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
                    <table class="admin_shop_order_index_order_totalTable" style="width: 100%" border="0"
                        cellpadding="4" cellspacing="0">
                        <tr>
                            <td align="right" colspan="2">
                            </td>
                            <td align="left" colspan="3">
                                &nbsp;&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                                &nbsp;运费： &nbsp;<asp:Label ID="lblChargeDeliver62" runat="server" ForeColor="Red"
                                    Text="￥0.00"></asp:Label>&nbsp;&nbsp;<br />
                                实际金额：<asp:Label ID="lblMoneyGoods62" runat="server" ForeColor="Red" Text="￥0.00" ToolTip="实际金额"></asp:Label>
                                &nbsp;＋&nbsp;<asp:Label ID="lblChargeDeliver63" runat="server" ForeColor="Red" Text="￥0.00" ToolTip="运费"></asp:Label>
                                ＝<asp:Label ID="lblTotal62" runat="server" ForeColor="Red" Text="0.00"></asp:Label>
                                &nbsp;
                            </td>
                            <td align="right">
                                商品总金额：<br />
                                合计：
                            </td>
                            <td align="left" style="width: 165px">
                                <asp:Label ID="lblMoneyGoods6" runat="server" Text='<%# string.Format("{0:C}", Eval("moneyGoods")) %>'
                                    ForeColor="Red"></asp:Label>
                                <br />
                                <asp:Label ID="lblTotal6" runat="server" Style="width: 20px" ForeColor="Red"></asp:Label>
                            </td>
                            <td align="left">已付款：<asp:Label ID="lblMoneyReceived6" runat="server" ForeColor="Red"></asp:Label><br />
                                尚欠款：<asp:Label ID="lblArrearage6" runat="server" ForeColor="Blue"></asp:Label>
                                
                            </td>
                        </tr>
                    </table>
                    <div class="separator14pxWithClearBoth">
                    </div>
                    <div style="width: 100%" id="Div1">
                        <table border="0" cellpadding="4" cellspacing="0" style="width: 100%; height: 60px;">
                            <tr>
                                <td align="center">
                                    <br />
                                    <b>注：</b>“<span style="color: blue">原价</span> ”指商品的原始零售价，“<span style="color: green">实价</span>
                                    ”指系统根据 &quot;最终价格计算公式表&quot; 自动计算出来的商品最终价格，“<span style="color: red">指定价</span>
                                    ”指管理员手动指定的最终价格。商品的最终销售价格以“指定价”为准。<br />
                                </td>
                            </tr>
                        </table>
                        <table id="panelPrint" width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tbody>
                                <tr>
                                    <td align="center" style="height: 80px">
                                        <input onclick="panelPrint.style.display='none';window.print()" type="button" value=" 打 印… "
                                            name="Print" class="btn" />
                                        &nbsp; &nbsp; &nbsp;
                                        <asp:Button ID="btnToViewOrder6" runat="server" OnClick="btnToViewOrder6_Click" Text="查看订单"
                                            CssClass="btn" />
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </asp:View>
                <!--退款视图 begin-->
                <asp:View ID="viewRefund" runat="server">
                    <table border="0" cellpadding="2" cellspacing="1" class="border" style="width: 100%"
                        id="TABLE2">
                        <tr align="center" class="title">
                            <td colspan="2" align="center" style="height: 22px">
                                <b>添 加 订 单 退 款 信 息</b>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%; height: 23px">
                                客户名称：
                            </td>
                            <td style="height: 23px">
                                <asp:Label ID="lblContacterName7" runat="server"></asp:Label>
                                <asp:Label ID="lblOrderId7" runat="server" Visible="False"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%; height: 23px">
                                用户名：
                            </td>
                            <td style="height: 23px">
                                <asp:Label ID="lblUserName7" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%; height: 85px">
                                支付内容：
                            </td>
                            <td style="height: 85px">
                                <table border="0" cellpadding="0" cellspacing="2">
                                    <tr class="tdbg">
                                        <td align="right" class="tdbg5" style="width: 15%">
                                            订单编号：
                                        </td>
                                        <td>
                                            <asp:Label ID="lblOrderNum7" runat="server"></asp:Label>
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr class="tdbg">
                                        <td align="right" class="tdbg5" style="width: 15%; height: 19px;">
                                            订单金额：
                                        </td>
                                        <td style="height: 19px">
                                            <asp:Label ID="lblMoneyTotal7" runat="server"></asp:Label>
                                        </td>
                                        <td style="height: 19px">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr class="tdbg">
                                        <td align="right" class="tdbg5" style="width: 15%">
                                            已 付 款：
                                        </td>
                                        <td>
                                            <asp:Label ID="lblMoneyReceived7" runat="server"></asp:Label>
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                退款日期：
                            </td>
                            <td>
                                &nbsp;<asp:TextBox ID="txtDateAndTime7" runat="server"></asp:TextBox>
                                <ajaxToolkit:CalendarExtender ID="CalendarExtender2" runat="server" Format="yyyy-MM-dd hh:mm"
                                    TargetControlID="txtDateAndTime7">
                                </ajaxToolkit:CalendarExtender>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%; height: 28px">
                                退款金额：
                            </td>
                            <td style="height: 28px">
                                &nbsp;<asp:TextBox ID="txtMoney7" runat="server"></asp:TextBox>
                                元
                                <asp:Label ID="lblMoneyMsg7" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                退款方式：
                            </td>
                            <td>
                                &nbsp;
                                <asp:RadioButtonList ID="radRefundType" runat="server">
                                    <asp:ListItem Value="0" Selected="True">扣除的金额添加到会员资金余额中</asp:ListItem>
                                    <asp:ListItem Value="1">采用其它方式：如银行转帐，现金交付等等</asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%; height: 28px">
                                备注：
                            </td>
                            <td style="height: 28px">
                                &nbsp;<asp:TextBox ID="txtRemark7" runat="server" Rows="3" TextMode="MultiLine" Width="450px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td colspan="2" style="height: 30px">
                                <b><span style="color: #ff0000">注意：退款信息一旦录入，就不能再修改或删除！所以在保存之前确认输入无误！<br />
                                    &nbsp; &nbsp; &nbsp; 退款方式采用其它方式时，为方便查找退款记录，在会员资金明细中也会有对应记录，但收入金额为0</span></b>
                            </td>
                        </tr>
                        <tr align="center" class="tdbg">
                            <td colspan="2" style="height: 30px" align="center">
                                &nbsp;<asp:Button ID="btnRefund7" runat="server" Text="保存" OnClientClick='return confirm("确定所输入的信息都完全正确吗?一旦输入就不可更改哦!")'
                                    OnClick="btnRefund7_Click" CssClass="btn" />
                                &nbsp;&nbsp;
                            </td>
                        </tr>
                    </table>
                </asp:View>
                <!--退货视图 begin-->
                <asp:View ID="viewReturnGoods" runat="server">
                    <br />
                    <table border="0" cellpadding="2" cellspacing="1" class="border" style="width: 100%">
                        <tr align="center" class="title">
                            <td align="center" colspan="2" style="height: 22px">
                                <b>录 入 退 货 信 息</b>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                客户名称：
                            </td>
                            <td>
                                <asp:Label ID="lblRealName4" runat="server"></asp:Label>
                                <asp:Label ID="lblOrderId4" runat="server" Visible="False"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                用户名：
                            </td>
                            <td>
                                <asp:Label ID="lblUserName4" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                收货人姓名：
                            </td>
                            <td>
                                &nbsp;<asp:Label ID="lblContacterName4" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%; height: 23px;">
                                订单编号：
                            </td>
                            <td style="height: 23px">
                                <asp:Label ID="lblOrderNum4" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                订单金额：
                            </td>
                            <td>
                                <asp:Label ID="lblMoneyTotal4" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                已 付 款：
                            </td>
                            <td>
                                <asp:Label ID="lblMoneyReceived4" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                送货方式：
                            </td>
                            <td>
                                <asp:Label ID="lblDeliverTypeName4" runat="server"></asp:Label>
                                &nbsp;<span style="color: blue">客户指定的送货方式</span>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                收货日期：
                            </td>
                            <td>
                                &nbsp;<asp:TextBox ID="txtDeliverDate4" runat="server"></asp:TextBox>&nbsp;
                                <asp:Label ID="lblDeliverDateMsg4" runat="server" ForeColor="Red"></asp:Label>
                                <ajaxToolkit:CalendarExtender ID="CalendarExtender4" runat="server" TargetControlID="txtDeliverDate4">
                                </ajaxToolkit:CalendarExtender>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                经 手 人：
                            </td>
                            <td>
                                &nbsp;<asp:TextBox ID="txtHandlerName4" runat="server"></asp:TextBox>&nbsp;<strong>
                                    *</strong> &nbsp;<asp:Label ID="lblHandlerNameMsg4" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                        <tr class="tdbg">
                            <td align="right" class="tdbg5" style="width: 15%">
                                退货原因：
                            </td>
                            <td>
                                &nbsp;<asp:TextBox ID="txtRemark4" runat="server" Rows="3" TextMode="MultiLine" Width="450px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr align="center" class="tdbg">
                            <td align="center" colspan="2" style="height: 30px">
                                <asp:Button ID="btnReturnGoodsConfirm4" runat="server" Text="确 定" OnClientClick="return confirm('确定录入的退货信息都正确无误了吗？')"
                                    OnClick="btnReturnGoodsConfirm4_Click" CssClass="btn" />&nbsp; &nbsp;&nbsp;
                            </td>
                        </tr>
                    </table>
                </asp:View>
                <!--虚拟货币支付-->
                <asp:View ID="viewAddPayment" runat="server">
                    <table class="user_index_AddPayment_table" border="1" cellpadding="4" cellspacing="0"
                        width="100%">
                        <tr>
                            <td colspan="3" align="center" class="title">
                                <b>使用帐户余额支付订单</b>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="tdbg5">
                                用 户 名：
                            </td>
                            <td colspan="2" align="left" class="tdbg">
                                <asp:Label ID="lblAddPayment_userName" runat="server"></asp:Label>
                                <asp:Label ID="lblAddPayment_orderId" runat="server" Visible="False"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="tdbg5">
                                资金余额：
                            </td>
                            <td colspan="2" style="height: 18px" align="left" class="tdbg">
                                <asp:Label ID="lblAddPayment_balance" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="tdbg5">
                                支付内容：
                            </td>
                            <td align="left" class="tdbg" colspan="2">
                                <table border="0" cellpadding="0" cellspacing="2" width="100%">
                                    <tr class="tdbg">
                                        <td align="right" class="tdbg5" style="width: 15%; height: 19px;">
                                            订单编号：
                                        </td>
                                        <td style="height: 19px">
                                            <asp:Label ID="lblAddPayment_orderNum" runat="server"></asp:Label>
                                        </td>
                                        <td style="height: 19px">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr class="tdbg">
                                        <td align="right" class="tdbg5" style="width: 15%">
                                            订单金额：
                                        </td>
                                        <td>
                                            <asp:Label ID="lblAddPayment_moneyTotal" runat="server"></asp:Label>
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr class="tdbg">
                                        <td align="right" class="tdbg5" style="width: 15%">
                                            已 付 款：
                                        </td>
                                        <td>
                                            &nbsp;<asp:Label ID="lblAddPayment_moneyReceived" runat="server"></asp:Label>
                                        </td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="tdbg5">
                                支出金额：
                            </td>
                            <td class="tdbg" colspan="2">
                                <asp:TextBox ID="txtAddPayment_payout" runat="server">0</asp:TextBox>&nbsp; 元
                                <asp:Label ID="lblAddPayment_payoutMsg" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="tdbg5">
                                备注：
                            </td>
                            <td class="tdbg" colspan="2">
                                <asp:TextBox ID="txtAddPayment_remark" runat="server" Rows="3" TextMode="MultiLine"
                                    Width="450px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" style="height: 26px" class="tdbg">
                                注意：支出信息一旦录入，就不能再修改或修改！所以在保存之前确认输入无误！
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" align="center" class="tdbg">
                                <asp:Button ID="btnAddPayment_confirm" runat="server" Text="确 定" OnClick="btnAddPayment_confirm_Click"
                                    OnClientClick="return confirm('确定所输入的信息都完全正确吗？一旦确认就不可更改哦！')" CssClass="btn" />
                                &nbsp;&nbsp;
                            </td>
                        </tr>
                    </table>
                </asp:View>
                <!--开具发票-->
                <asp:View ID="viewInvoice" runat="server">
                    <table cellspacing="1" cellpadding="2" width="100%" border="0">
                        <tbody>
                            <tr align="center">
                                <td colspan="2" style="height: 22px" align="center" class="title">
                                    <strong class="title">录 入 开 发 票 信 息</strong>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 15%; height: 21px;" class="tdbg5">
                                    客户名称：
                                </td>
                                <td style="height: 21px" class="tdbg" align="left">
                                    &nbsp;<asp:Label ID="lblContacterName15" runat="server"></asp:Label>
                                    <asp:Label ID="lblOrderId15" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 15%; height: 20px;" class="tdbg5">
                                    用户名：
                                </td>
                                <td class="tdbg" style="height: 20px" align="left">
                                    &nbsp;<asp:Label ID="lblUserName15" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 15%; height: 20px" class="tdbg5">
                                    订单编号：
                                </td>
                                <td style="height: 20px" class="tdbg" align="left">
                                    &nbsp;<asp:Label ID="lblOrderNum15" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 15%; height: 22px;" class="tdbg5">
                                    订单金额：
                                </td>
                                <td style="height: 22px" class="tdbg" align="left">
                                    &nbsp;<asp:Label ID="lblMoneyTotal15" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 15%; height: 21px;" class="tdbg5">
                                    已 付 款：
                                </td>
                                <td style="height: 21px" class="tdbg" align="left">
                                    &nbsp;<asp:Label ID="lblMoneyReceived15" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 15%; height: 21px;" class="tdbg5">
                                    发票信息：
                                </td>
                                <td class="tdbg" style="height: 21px" align="left">
                                    &nbsp;<asp:Label ID="lblInvoiceContent15" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 15%; height: 28px;" class="tdbg5">
                                    开票日期：
                                </td>
                                <td style="height: 28px" class="tdbg" align="left">
                                    &nbsp;<asp:TextBox ID="txtInvoiceDate15" runat="server"></asp:TextBox>&nbsp;
                                    <asp:Label ID="lblInvoiceDateMsg15" runat="server" ForeColor="Red"></asp:Label>
                                    <ajaxToolkit:CalendarExtender ID="CalendarExtender3" runat="server" TargetControlID="txtInvoiceDate15">
                                    </ajaxToolkit:CalendarExtender>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 15%; height: 26px;" class="tdbg5">
                                    发票类型：
                                </td>
                                <td style="height: 26px" class="tdbg" align="left">
                                    &nbsp;<asp:DropDownList ID="drpInvoiceType15" runat="server">
                                        <asp:ListItem Selected="True" Value="0">地税普通发票</asp:ListItem>
                                        <asp:ListItem Value="1">国税普通发票</asp:ListItem>
                                        <asp:ListItem Value="2">增值税发票</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 15%; height: 28px;" class="tdbg5">
                                    发票号码：
                                </td>
                                <td style="height: 28px" class="tdbg" align="left">
                                    &nbsp;<asp:TextBox ID="txtInvoiceNum15" runat="server" MaxLength="50"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 15%" class="tdbg5">
                                    发票抬头：
                                </td>
                                <td class="tdbg" align="left">
                                    &nbsp;<asp:TextBox ID="txtInvoiceTitle15" runat="server" Columns="50" MaxLength="50"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 15%" class="tdbg5">
                                    发票内容：
                                </td>
                                <td class="tdbg" align="left">
                                    &nbsp;<asp:TextBox ID="txtInvoiceContent15" runat="server" Columns="50" Rows="4"
                                        TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 15%; height: 28px;" class="tdbg5">
                                    发票金额：
                                </td>
                                <td class="tdbg" align="left" style="height: 28px">
                                    &nbsp;<asp:TextBox ID="txtTotalMoney15" runat="server"></asp:TextBox>&nbsp;
                                    <asp:Label ID="lblTotalMoneyMsg15" runat="server" ForeColor="Red"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 15%" class="tdbg5">
                                    开 票 人：
                                </td>
                                <td class="tdbg" align="left">
                                    &nbsp;<asp:TextBox ID="txtDrawer15" runat="server" MaxLength="50"></asp:TextBox>
                                </td>
                            </tr>
                            <tr align="center">
                                <td colspan="2" style="height: 30px" align="center" class="tdbg">
                                    <asp:Button ID="btnInvoiceConfirm" runat="server" OnClientClick='return confirm("确定录入的发票信息都正确无误了吗？")'
                                        Text="确 定" OnClick="btnInvoiceConfirm_Click" CssClass="btn" />&nbsp; &nbsp;
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </asp:View>
            </asp:MultiView>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>