<%@ Page Language="C#" MasterPageFile="~/Admin/MainPage.Master" AutoEventWireup="true"  Codebehind="OrderEdit.aspx.cs" Inherits="PPFOR.Admin.Order.OrderEdit" Title="查看订单" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PPFOR_mainContent" runat="server"> 
<script src="../JS/gridview.js" type="text/javascript"></script> 
<form runat="server" id="form1">     
    <asp:Label ID="PPFOR_orderID" runat="server" Enabled="false" Visible="false"></asp:Label>&nbsp; 
   <p style="margin-bottom:10px; font-weight:bold;">商品信息</p>    
        <asp:GridView ID="PPFOR_showGoodsList" CssClass="forgridview" runat="server" OnRowDataBound="PPFOR_gridViewRowDataBound" AllowPaging="false" AutoGenerateColumns="False"  DataKeyNames="ID"  Width="100%" CellPadding="0" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="0px" >
           <Columns>       
             <asp:BoundField HeaderText="商品货号" ItemStyle-HorizontalAlign="Center" DataField="code" HeaderStyle-Font-Bold="false"/> 
             <asp:BoundField HeaderText="商品名称" ItemStyle-HorizontalAlign="Center" DataField="name" HeaderStyle-Font-Bold="false"/>  
             <asp:BoundField HeaderText="商品积分" ItemStyle-HorizontalAlign="Center" DataField="score" HeaderStyle-Font-Bold="false"/>  
             <asp:BoundField HeaderText="价格" ItemStyle-HorizontalAlign="Center" DataField="price" HeaderStyle-Font-Bold="false"/>  
             <asp:BoundField HeaderText="数量" ItemStyle-HorizontalAlign="Center" DataField="buyNumber" HeaderStyle-Font-Bold="false"/>  
             <asp:BoundField HeaderText="小计" ItemStyle-HorizontalAlign="Center" HeaderStyle-Font-Bold="false"/>  
            </Columns>            
             <FooterStyle BackColor="#990000" ForeColor="White" /> 
             <RowStyle Font-Bold="false" BackColor="#ffffff"/> 
             <HeaderStyle BackColor="#F5F5F5" Font-Bold="false" ForeColor="#000000" />
             <AlternatingRowStyle BackColor="#F5F5F5" />
        </asp:GridView>       
    <br />
    <p style="margin-bottom:10px; font-weight:bold;">订单信息</p> 
    <table width="100%" cellpadding="0px" cellspacing="0px" border="0" class="fortable">
        <tr>
            <td class="rtitle">订单号：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderNo"></asp:Label>&nbsp;</td>
            <td class="rtitle">下单时间：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderDate"></asp:Label>&nbsp;</td> 
                    
        </tr>
        <tr>
            <td class="rtitle">商品总金额：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderSumMoney"></asp:Label>&nbsp;</td>  
            <td class="rtitle">最后修改时间：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_updateTime"></asp:Label>&nbsp;</td>            
        </tr>
        <tr>
            <td class="rtitle">配送费用：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_deliveryMoney"></asp:Label>&nbsp;</td>  
            <td class="rtitle">配送方式：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_delivery"></asp:Label>&nbsp;</td>                        
        </tr>
         <tr>
            <td class="rtitle">支付手续费用：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_paymentMoney"></asp:Label>&nbsp;</td>  
            <td class="rtitle">支付方式：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_payment"></asp:Label>&nbsp;</td>                        
        </tr>
         <tr>            
            <td class="rtitle">货币结算金额：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderMoney"></asp:Label>&nbsp;</td>  
            <td class="rtitle">支付币别：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderMoneyType"></asp:Label>&nbsp;</td>
        </tr>
         <tr>
            <td class="rtitle">商品总重量：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderWeight"></asp:Label> 克（g）</td>            
            <td class="rtitle">商品总积分：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderSumPoint"></asp:Label>&nbsp;</td>            
        </tr>
         <tr>
            <td class="rtitle">付款状态：</td>
            <td class="rcontent">
                <asp:Label ID="PPFOR_orderStatusOfPay" runat="server"></asp:Label>&nbsp;&nbsp;
                <asp:Button ID="PPFOR_orderPay" runat="server" CssClass="blueinput" Text="付款" OnClick="PPFOR_orderPayClick" />                
                <asp:Button ID="PPFOR_orderRefund" runat="server" CssClass="blueinput" Text="退款" OnClick="PPFOR_orderRefundClick" />
            </td>            
            <td class="rtitle">发货状态：</td>
            <td class="rcontent"><asp:Label ID="PPFOR_orderStatusOfDelivery" runat="server"></asp:Label>&nbsp;&nbsp;
                <asp:Button ID="PPFOR_orderDelivery" runat="server" CssClass="blueinput" Text="发货" OnClick="PPFOR_orderDeliveryClick" />                
                <asp:Button ID="PPFOR_orderReturns" runat="server" CssClass="blueinput" Text="退货" OnClick="PPFOR_orderReturnsClick" />
            </td>                        
        </tr>
    </table> 
    <br />
    <p style="margin-bottom:10px; font-weight:bold;">购买人信息</p>   
    <table width="100%" cellpadding="0px" cellspacing="0px" border="0" class="fortable">
        <tr>
            <td class="rtitle">姓名：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_memberRealName"></asp:Label>&nbsp;</td>            
            <td class="rtitle">会员用户名：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_memberName"></asp:Label>&nbsp;</td>       
        </tr>
        <tr>
            <td class="rtitle">Email地址：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_memberEmail"></asp:Label>&nbsp;</td> 
             <td class="rtitle">邮政编码：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_memberZipCode"></asp:Label>&nbsp;</td>   
        </tr>
          <tr>
            <td class="rtitle">联系电话：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_memberTel"></asp:Label>&nbsp;</td>            
            <td class="rtitle">联系手机：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_memberPhone"></asp:Label>&nbsp;</td>            
        </tr>
         <tr>                  
            <td class="rtitle">地址：</td>
            <td class="rcontent" colspan="3"><asp:Label runat="server" ID="PPFOR_memberAddress"></asp:Label>&nbsp;</td>    
        </tr>
    </table>
    <br />
    <p style="margin-bottom:10px; font-weight:bold;">收货人信息</p>   
    <table width="100%" cellpadding="0px" cellspacing="0px" border="0" class="fortable">
        <tr>
            <td class="rtitle">收货人姓名：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderRecipientName"></asp:Label>&nbsp;</td>            
            <td class="rtitle">收货人Mail：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderEmail"></asp:Label>&nbsp;</td>            
        </tr>
          <tr>
            <td class="rtitle">联系手机：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderPhone"></asp:Label>&nbsp;</td>          
            <td class="rtitle">联系电话：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderTel"></asp:Label>&nbsp;</td>            
        </tr>
         <tr>
            <td class="rtitle">邮政编码：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderZipCode"></asp:Label>&nbsp;</td>            
            <td class="rtitle">送货时间：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderDeliveryTime"></asp:Label>&nbsp;</td>            
        </tr>      
         <tr>
            <td class="rtitle">收货地区：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderArea"></asp:Label>&nbsp;</td>  
            <td class="rtitle">收货人地址：</td>
            <td class="rcontent"><asp:Label runat="server" ID="PPFOR_orderAddress"></asp:Label>&nbsp;</td> 
        </tr>  
         <tr>
            <td class="rtitle">订单附言：</td>
            <td class="rcontent" colspan="3"><asp:Label runat="server" ID="PPFOR_orderPS"></asp:Label>&nbsp;</td>             
        </tr>     
         <tr>        
    </tr> 
    </table>
    <br />     
   <table width="100%" cellpadding="0px" cellspacing="0px" border="0" class="fortable" style="display:none">
    <tr>
        <td>
            <input type="button" id="backToList" onclick="location.href='OrderList.aspx'" value="返回订单列表" />
             <script type="text/javascript">                    
                addButtonArray("backToList");                    
            </script> 
        </td>
    </tr>
    </table>
</form>
</asp:Content>
