<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OrderFormInfo.aspx.cs" Inherits="OrderFormInfo" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!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">
    <title>订单明细</title>
    <link rel="stylesheet" type="text/css" href="../css/list.css" />
    <link href="../style/style.css" rel="stylesheet" type="text/css" />
    <script src="../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="../js/jquery.js" type="text/javascript"></script>
    <script src="../js/jquery-1.5.2.min.js" type="text/javascript"></script>
    <script src="../js/common.js" type="text/javascript"></script>
    <script type="text/javascript">
        function setinitvalue(obj) {
            if ($(obj).val() == "") { $(obj).val("1"); }
        }
        
        function check() {
            //            alert($("#rbtPic").Selected.ToString());
            if ($("#rbtLanguage").attr("checked")==!true) {
                document.getElementById("pic").style.display = "none";
            } 
        }
    </script>
    <style type="text/css">
         .hideclass 
         { 
         display:none; 
         } 
    </style>
    <script type="text/javascript" language="javascript">
        $(function () {
            $("#rbtPic").change(function () {
                $("#tr1").removeClass("hideclass");
                $("#tr2").addClass("hideclass");
            })
 
            $("#rbtLanguage").change(function () {
                $("#tr1").addClass("hideclass");
                $("#tr2").removeClass("hideclass");
            })
 
        });
     </script>
       
</head>
<body onload ="controlInputNumber();" class="_body" style="margin-bottom:0px;margin-left:0px;margin-right:0px;margin-top:0px">
        <form id="form1" runat="server">
        <div class="list1">
		<div class="list2">
			<span>订单信息</span>
		</div>
		<div style="border:1px solid #FFFFFF">
		<table class="list3" width="100%" height="100%" cellpadding="0" cellspacing="0">
			<tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">订单编号：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:Label ID="lblOrderFormNo" runat="server" ></asp:Label>                      
                 </td>
            </tr>
			<tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">购买人：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:Label ID="lblPurchaser" runat="server" ></asp:Label>                       
                 </td>
            </tr>
            <tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">收货人：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:Label ID="lblConsignee" runat="server" ></asp:Label>
                 </td>
            </tr>
            <tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">收货地址：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:Label ID="lblLiveAddress" runat="server" ></asp:Label>
                 </td>
            </tr>
            <tr>
                <td class="list3_1" style="width: 215px" nowrap="nowrap">
                    <span style="color:Black">联系方式：</span>
                </td>
                <td class="list3_2" nowrap="nowrap">
                    <asp:Label ID="lblPhone" runat="server" ></asp:Label>
                </td>
            </tr>
            <tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">邮编：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:Label ID="lblZipCode" runat="server" ></asp:Label>
                 </td>
            </tr>
            <tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">订单金额：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:Label ID="lblProductTotalPrice" runat="server" ></asp:Label>
                 </td>
            </tr>
            <tr>
                 <td class="list3_1" style="width:215px" nowrap="nowrap">
                    <span style=" color:Black">下单时间：</span>
                </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:Label ID="lblCreatDate" runat="server" ></asp:Label>
                 </td>
            </tr>
            <tr>
                 <td class="list3_1" nowrap="nowrap" style="line-height:100px;width:215px">
                    <span style="color:Black">备注：</span>
                 </td>
                 <td class="list3_2" nowrap="nowrap">
                    <asp:Label ID="lblRemark" runat="server" ></asp:Label>
                 </td>
            </tr>
		</table>
		
		<div class="list2">
			<span>订单明细</span>
		</div>
        <table cellpadding="0" cellspacing="0" width="100%" style="margin-top:10px">
                <tr>
                    <td class="forms6_1" align="left">
                        <span style="color:Black">商品编号</span> 
                    </td>
                    <td class="forms6_1" align="left">
                        <span style="color:Black">商品名称</span> 
                    </td>
                    <td class="forms6_1" align="left">
                        <span style="color:Black">商品图片</span> 
                    </td>
                    <td class="forms6_1" align="left">
                        <span style="color:Black">规格</span> 
                    </td>
                    <td class="forms6_1" align="left">
                        <span style="color:Black">单价</span> 
                    </td>
                    <td class="forms6_1" align="left">
                        <span style="color:Black">购买数量</span> 
                    </td>
                    <td class="forms6_1" align="left">
                        <span style="color:Black">金额</span> 
                    </td>
                </tr>
                <tbody id="tbodyf">
                <asp:Repeater runat="server" ID="rptOrderFormDetail">
                        <ItemTemplate>
                            <tr onmouseover="this.style.background='#F3FBCA'" onmouseout="this.style.background='#ffffff';">
                                <td class="forms6_3" align="left">
                                    <%# Eval("ProductNo")%>
                                </td>
                                <td class="forms6_3" align="left">
                                    <%# Eval("ProductName") %>
                                </td>
                                <td class="forms6_3" align="left">
                                    <img src='../Upfile/<%# getProductPic(Convert.ToInt64(Eval("ProductID")))  %>' alt="Shoes 1" style="width:100px;"/>
                                </td>
                                <td class="forms6_3" align="left">
                                    <%#Eval("Spec")%>
                                </td>
                                <td class="forms6_3" align="left">
                                    <%# Convert.ToDecimal(Eval("Price")).ToString("00.00")%>
                                </td>
                                <td class="forms6_3" align="left">
                                    <%#Eval("Number")%>
                                </td>
                                <td class="forms6_3" align="left">
                                    <%# Convert.ToDecimal(Eval("TotalPrice")).ToString("00.00")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
            	</tbody>
            </table>
            <table cellpadding="0" cellspacing="0" width="100%" style="margin-top:10px">
                <tr>
			       <td  colspan="8" style=" height:10px;">
			           <a href="javascript:location.href='OrderForm_Manage.aspx'"><img src="../images/blue/return.jpg" / alt="" /></a>
			       </td>
			    </tr>
			</table>
		</div>
	</div>
</form>
</body>
</html>
