<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Member.User_UserOrder_Operate, V5Shop.Member" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<!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 id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/membercss.css" rel="stylesheet" type="text/css" />
    <title>威博单用户系统</title>

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

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

    <script type="text/javascript" language="javascript" src="Js/Calendar-Setup.js"></script>

    <script type="text/javascript" language="javascript" src="Js/Calendar-zh.js"></script>

</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table border="0" cellpadding="5" cellspacing="0" class="membertable">
                <tr>
                    <td height="20" colspan="2" background="../images/user/tbj10.gif" bgcolor="#65697A">
                        <font color="FFFFFF"><strong>
                            <asp:Label ID="Label2" runat="server" Text="订单编号：" ForeColor="White"></asp:Label>
                            <asp:Label ID="lblNumber" runat="server" ForeColor="White"></asp:Label></strong></font>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" bgcolor="#FFFFFF">
                        <div id="content1" runat="server">
                            <table border="0" cellpadding="0" cellspacing="0" class="membertable" style="border: 0px #FFFFFF solid">
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="Label1" runat="server" Text="订单状态："></asp:Label>
                                    </td>
                                    <td colspan="3" align="left" style="height: 30px">
                                        <div style="float: left">
                                            <asp:CheckBoxList ID="cblOrderState" runat="server" RepeatDirection="Horizontal">
                                            </asp:CheckBoxList>
                                        </div>
                                        <div style="float: left">
                                            <asp:Label ID="lblNonExceptOrder" runat="server" Text=""></asp:Label>
                                            <asp:Button ID="btnChangeOrderState" runat="server" CssClass="input" Text="修改订单状态"
                                                OnClick="btnChangeOrderState_Click" />
                                            <input type="button" name="btnViewShippingAdvice" id="btnViewShippingAdvice" runat="server"
                                                value="查看发货通知" visible="false" class="input" />
                                        </div>
                                        <br />
                                        <br />
                                        <br />
                                        <p>
                                            <asp:Label ID="notes" runat="server" Text="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用会员卡或购物卡支付的订单取消时, 将扣除卡内金额． 如果需要退回已付的货款, 请与管理员联系．" ForeColor="Green" />
                                        </p>
                                    </td>
                                </tr>
                                <tr id="trIsCancel" runat="server" visible="false">
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="lblIsCancel" runat="server" Text="是否取消订单："></asp:Label></td>
                                    <td align="left" colspan="3" style="height: 30px">
                                        <asp:RadioButtonList ID="rblIsCancel" runat="server" RepeatDirection="Horizontal"
                                            AutoPostBack="True" OnSelectedIndexChanged="rblIsCancel_SelectedIndexChanged">
                                        </asp:RadioButtonList></td>
                                </tr>
                                <tr id="trNotice" runat="server">
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="lblNotice" runat="server" Text="订单修改备注："></asp:Label></td>
                                    <td colspan="3" align="left" style="height: 30px">
                                        <asp:TextBox ID="txtNotice" runat="server" Height="50px" TextMode="MultiLine" Width="360px"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNotice"
                                            Display="Dynamic" ErrorMessage="不能为空" Visible="False" ForeColor="Green"></asp:RequiredFieldValidator>
                                        <asp:Button ID="btnCancelOrder" runat="server" OnClick="btnChangeOrderState_Click" Text="取消订单"
                                            Visible="False" CssClass="input" /></td>
                                </tr>
                                <tr id="trAdminRemark" runat="server">
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="lblAdminRemarkInfo" runat="server" Text="管理员处理备注："></asp:Label></td>
                                    <td align="left" colspan="3" style="height: 30px">
                                        <asp:Label ID="lblAdminRemark" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="left" colspan="4" style="height: 30px; background-color: #f1f1f1">
                                        <b>
                                            <asp:Label ID="Label5" runat="server" Text="商品信息"></asp:Label></b></td>
                                </tr>
                                                                <tr>
                                    <td align="left" colspan="4" style="height: 1px">
                                        </td>
                                </tr>
                                <tr>
                                    <td align="left" colspan="4" >
                                           <div class="listborder" width="100%">
                                                <cc1:V5ShopGridView ID="GridViewShow" runat="server" AllowPaging="True" AllowSorting="True"
                                                    AutoGenerateColumns="False" BorderWidth="0px" CacheName="ProductInfo" CssClass="datalist"
                                                    EmptyDataText="没有任何可用信息！" GridLines="None" HeaderStyle-ForeColor="#000000" PageSize="5"
                                                    TableName="" Width="100%" PagerSettings-Visible="false">
                                                    <PagerSettings Mode="NumericFirstLast" />
                                                    <Columns>
                                                        <asp:BoundField DataField="ProductID" HeaderText="商品ID" />
                                                        <asp:BoundField DataField="Number" HeaderText="商品编号" />
                                                        <asp:TemplateField HeaderText="商品名称">
                                                            <itemtemplate>
                                  <a href="../product.aspx?id=<%#Eval("ProductID") %>" target="_blank"><asp:Label runat="server" Text='<%#Eval("Name") %> ' id="lblName"></asp:Label>
                                  &nbsp;<span style="color:red"><%#Eval("PropertysText") %></span> 
                                  </a>
                                  </itemtemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="CategoryName" HeaderText="所属分类" />
                                                        <asp:BoundField DataField="MarketPrice" HeaderText="市场价" />
                                                        <asp:BoundField DataField="OrderPrice" HeaderText="您的价格" />
                                                        <asp:BoundField DataField="Count" HeaderText="购买数量" />
                                                        <asp:BoundField DataField="TotalPrice" HeaderText="小计" />
                                                    </Columns>
                                                    <HeaderStyle CssClass="category" ForeColor="Black" />
                                                </cc1:V5ShopGridView>
                                            </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" colspan="4" height="30">
                                        <asp:Label ID="lblProductTotal" runat="server" Text="总计："></asp:Label>
                                        <asp:Label ID="Label17" runat="server" Text="￥"></asp:Label><asp:Label ID="lblProductPrice2" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="left" colspan="4" style="height: 30px; background-color: #F1F1F1">
                                        <b>
                                            <asp:Label ID="lblFeeInfo" runat="server" Text="配送/支付/费用信息"></asp:Label></b></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="Label8" runat="server" Text="配送方式："></asp:Label></td>
                                    <td align="left" style="height: 30px; width: 319px;">
                                        <asp:Label ID="lblDelivery" runat="server"></asp:Label></td>
                                    <td align="right" style="height: 30px; width: 179px;">
                                        <span style="width: 200px; height: 30px">
                                            <asp:Label ID="Label13" runat="server" Text="支付方式："></asp:Label>
                                        </span>
                                    </td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="lblPayment" runat="server"></asp:Label>
                                        <span id="ShowPayFee" runat="server" visible="false">
                                            <asp:Label ID="lblPayFee" runat="server" Text="手续费："></asp:Label>
                                            <asp:Label ID="lblPaymentPrice" runat="server"></asp:Label>
                                        </span>
                                        <input type="button" name="btnChangePayMent" id="btnChangePayMent" runat="server"
                                            value="更改" visible="false" class="input" />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="Label10" runat="server" Text="配送费用："></asp:Label></td>
                                    <td align="left" style="height: 30px; width: 319px;">
                                        <asp:Label ID="Label4" runat="server" Text="￥"></asp:Label><asp:Label ID="lblFee" runat="server"></asp:Label></td>
                                    <td align="right" style="height: 30px; width: 179px;">
                                        <span style="width: 200px; height: 30px">&nbsp;
                                            <asp:Label ID="lblInvoicePriceInfo" runat="server" Text="发票费用："></asp:Label>&nbsp;
                                        </span>
                                    </td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="Label7" runat="server" Text="￥"></asp:Label><asp:Label ID="lblInvoicePrice" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="Label3" runat="server" Text="包装费用："></asp:Label></td>
                                    <td align="left" style="width: 319px; height: 30px">
                                        <asp:Label ID="Label9" runat="server" Text="￥"></asp:Label><asp:Label ID="lblProductPackagePrice2" runat="server"></asp:Label></td>
                                    <td align="right" style="width: 179px; height: 30px">
                                        <asp:Label ID="Label6" runat="server" Text="贺卡费用："></asp:Label></td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="Label11" runat="server" Text="￥"></asp:Label><asp:Label ID="lblGreetingCardPrice2" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="lblScoreMoney" runat="server" Text="积分优惠："></asp:Label></td>
                                    <td align="left" style="width: 319px; height: 30px">
                                        <asp:Label ID="Label12" runat="server" Text="￥"></asp:Label><asp:Label ID="lblScoreTradePrice" runat="server"></asp:Label></td>
                                    <td align="right" style="width: 179px; height: 30px">
                                        <asp:Label ID="lblScoreUse" runat="server" Text="消耗积分："></asp:Label></td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="lblUsedScore" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="lblCouponPrice" runat="server" Text="优惠券优惠金额："></asp:Label></td>
                                    <td align="left" style="width: 319px; height: 30px">
                                        <asp:Label ID="Label14" runat="server" Text="￥"></asp:Label><asp:Label ID="lblCouponTradePrice" runat="server"></asp:Label></td>
                                    <td align="right" style="width: 179px; height: 30px">
                                        <asp:Label ID="lblCoupon" runat="server" Text="优惠券号码："></asp:Label></td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="lblCouponNumber" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="Label29" runat="server" Text="商品总金额："></asp:Label></td>
                                    <td align="left" style="height: 30px; width: 319px;">
                                        <asp:Label ID="Label15" runat="server" Text="￥"></asp:Label><asp:Label ID="lblProductPrice" runat="server"></asp:Label></td>
                                    <td align="right" style="height: 30px; width: 179px;">
                                        <span style="width: 200px; height: 30px">
                                            <asp:Label ID="Label31" runat="server" Text="订单支付总金额："></asp:Label>
                                        </span>
                                    </td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="Label16" runat="server" Text="￥"></asp:Label><asp:Label ID="lblPrice" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="Label22" runat="server" Text="获赠积分："></asp:Label></td>
                                    <td align="left" style="width: 319px; height: 30px">
                                        <asp:Label ID="lblScore" runat="server"></asp:Label></td>
                                    <td align="right" style="width: 179px; height: 30px">
                                    </td>
                                    <td align="left" style="height: 30px">
                                    </td>
                                </tr>
                                <tr>
                                    <td align="left" colspan="4" style="height: 30px; background-color: #F1F1F1">
                                        <b>
                                            <asp:Label ID="Label41" runat="server" Text="收货人信息"></asp:Label></b></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="Label42" runat="server" Text="收货人姓名："></asp:Label></td>
                                    <td align="left" style="height: 30px; width: 319px;">
                                        <asp:Label ID="lblReceiveName" runat="server"></asp:Label></td>
                                    <td align="right" style="height: 30px; width: 179px;">
                                        <span style="width: 200px; height: 30px">
                                            <asp:Label ID="Label45" runat="server" Text="E-Mail："></asp:Label>
                                        </span>
                                    </td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="lblSendEmail" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="Label47" runat="server" Text="性别："></asp:Label></td>
                                    <td align="left" style="height: 30px; width: 319px;">
                                        <asp:Label ID="lblReceiveSex" runat="server"></asp:Label></td>
                                    <td align="right" style="height: 30px; width: 179px;">
                                        <span style="width: 200px; height: 30px">
                                            <asp:Label ID="Label55" runat="server" Text="送货地址："></asp:Label>
                                        </span>
                                    </td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="lblReceiveAddress" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="Label44" runat="server" Text="联系电话："></asp:Label></td>
                                    <td align="left" style="height: 30px; width: 319px;">
                                        <asp:Label ID="lblReceiveTel" runat="server"></asp:Label></td>
                                    <td align="right" style="height: 30px; width: 179px;">
                                        <span style="width: 200px; height: 30px">
                                            <asp:Label ID="Label58" runat="server" Text="邮编："></asp:Label>
                                        </span>
                                    </td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="lblReceivePostCode" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="Label46" runat="server" Text="手机："></asp:Label></td>
                                    <td align="left" style="height: 30px; width: 319px;">
                                        <asp:Label ID="lblReceiveMobile" runat="server"></asp:Label></td>
                                    <td align="right" style="height: 30px; width: 179px;">
                                        <span style="width: 200px; height: 30px">
                                            <asp:Label ID="Label48" runat="server" Text="标志性建筑："></asp:Label>
                                        </span>
                                    </td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="lblBuilding" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="Label37" runat="server" Text="是否需要发票："></asp:Label></td>
                                    <td align="left" style="width: 319px; height: 30px">
                                        <asp:Label ID="lblIsInvoice" runat="server"></asp:Label></td>
                                    <td align="right" style="width: 179px; height: 30px">
                                        <asp:Label ID="Label61" runat="server" Text="发票抬头："></asp:Label></td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="lblInvoiceHead" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="lblUserRemark" runat="server" Text="订单备注："></asp:Label></td>
                                    <td align="left" colspan="3" style="height: 30px">
                                        <asp:Label ID="lblUserRemarkInfo" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="left" colspan="4" style="height: 30px; background-color: #f1f1f1">
                                        <asp:Label ID="lblBuyInfo" runat="server" Text="购货人信息"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="lblBuyName" runat="server" Text="购货人姓名："></asp:Label></td>
                                    <td align="left" style="height: 30px; width: 319px;">
                                        <asp:Label ID="lblSendName" runat="server"></asp:Label></td>
                                    <td align="right" style="height: 30px; width: 179px;">
                                        <span style="width: 200px; height: 30px">
                                            <asp:Label ID="lblBuyEmail" runat="server" Text="购货人Email："></asp:Label>
                                        </span>
                                    </td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="lblSendEmail2" runat="server" Text=""></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="lblBuyTel" runat="server" Text="购货人电话：："></asp:Label></td>
                                    <td align="left" style="width: 319px; height: 30px">
                                        <asp:Label ID="lblSendTel" runat="server" Text=""></asp:Label></td>
                                    <td align="right" style="width: 179px; height: 30px">
                                        <asp:Label ID="lblBuyMobile" runat="server" Text="购货人手机"></asp:Label></td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="lblSendMobile" runat="server" Text=""></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="left" colspan="4" style="height: 30px; background-color: #f1f1f1;">
                                        <b>
                                            <asp:Label ID="lblOtherInfo" runat="server" Text="其他信息"></asp:Label></b></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="Label18" runat="server" Text="包装名称："></asp:Label></td>
                                    <td align="left" style="height: 30px; width: 319px;">
                                        <asp:Label ID="lblProductPackage" runat="server"></asp:Label>&nbsp;</td>
                                    <td align="right" style="height: 30px; width: 179px;">
                                        <span style="width: 200px; height: 30px">
                                            <asp:Label ID="Label20" runat="server" Text="包装费用："></asp:Label>
                                        </span>
                                    </td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="Label19" runat="server" Text="￥"></asp:Label><asp:Label ID="lblProductPackagePrice" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="Label23" runat="server" Text="贺卡名称："></asp:Label></td>
                                    <td align="left" style="height: 30px; width: 319px;">
                                        <asp:Label ID="lblGreetingCard" runat="server"></asp:Label>&nbsp;</td>
                                    <td align="right" style="height: 30px; width: 179px;">
                                        <span style="width: 200px; height: 30px">
                                            <asp:Label ID="Label25" runat="server" Text="贺卡费用："></asp:Label>
                                        </span>
                                    </td>
                                    <td align="left" style="height: 30px">
                                        <asp:Label ID="Label21" runat="server" Text="￥"></asp:Label><asp:Label ID="lblGreetingCardPrice" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 200px; height: 30px">
                                        <asp:Label ID="Label27" runat="server" Text="贺卡内容："></asp:Label></td>
                                    <td align="left" style="height: 30px;" colspan="3">
                                        <asp:TextBox ID="txtGreetingCardInfomation" runat="server" Height="60px" ReadOnly="True"
                                            TextMode="MultiLine" Width="320px"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td align="right" style="height: 30px" colspan="4">
                                    </td>
                                </tr>
                                <tr class="F7tr">
                                    <td align="center" colspan="4" style="height: 30px">
                                        <asp:Button ID="btnPrintOrder" runat="server" CssClass="input" Text="导出订单" OnClick="btnPrintOrder_Click" />
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div id="hiddenfield">
                            <asp:HiddenField ID="CheckedIDS" runat="server" Value="0" />
                            <asp:HiddenField ID="PageIndex" runat="server" Value="0" />
                            <asp:HiddenField ID="MaxPageIndex" runat="server" Value="0" />
                            <uc1:HiddenField ID="Alert" runat="server" />
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
    <div id="Pay" visible="false" runat="server" align="center">
    </div>
</body>
</html>
