<%@ Page Language="C#" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Management" Assembly="Hishop.Web.Management" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Validator" Assembly="Hishop.Web.Validator" %>
<%@ Import Namespace="Hishop.SystemServices" %>
<!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>
    <Hishop:HeadContainer ID="HeadContainer1" runat="server" />
    <Hishop:PageTitle ID="PageTitle1" runat="server" />
    <link rel="stylesheet" href="../css/OrderDetails.css" type="text/css" />
    <link rel="stylesheet" href="../../Themes/default/zh-cn/style/pagevalidator.css" type="text/css" />
    <link rel="stylesheet" href="../css/Hishopv5.css" type="text/css" />
    <script type="text/javascript" src="../../utility/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../utility/validate/pagevalidator.js"></script>
    
    <script type="text/javascript" src="../js/Hishopv5.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <Hishop:SendGoods ID="SendGoods" runat="server" >
                <SkinTemplate>
<Hishop:StatusMessage id="Status" runat="server" Visible="False" />

<!--订单的商品（自选配置列表）-->
<div class="D_main_top">

            
       <table border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td style="padding-left:1px" class="spanB"><nobr><asp:Literal ID="lblOpen" Text="<%$Resources:OrderDetails,IDS_FormField_OrderNumber%>" runat="server"></asp:Literal>：</nobr></td>
            <td style="padding-left:1px"><asp:Literal ID="litOrderId" runat="server"></asp:Literal></td>
            <td style="padding-left:1px"><span class="spanB"><nobr><asp:Literal ID="Literal2" Text="<%$Resources:OrderDetails,IDS_FormField_OrderPrice%>" runat="server"></asp:Literal>：</span></nobr></td>
            <td class="spanC" style="padding-left:1px"><Hishop:FormatedMoneyLabelForAdmin ID="litOrderPrice" runat="server" /></td>
            <td style="padding-left:1px" class="spanB"><nobr><asp:Literal ID="Literal4" Text="<%$Resources:OrderDetails,IDS_FormField_OrderStatus%>" runat="server"></asp:Literal>：</nobr></td>
            <td style="padding-left:1px">
                <Hishop:ActivityStatusLabel ID="lblOrderActivityStatus" runat="server" />
                <Hishop:PaymentStatusLabel ID="lblOrderPaymentStatus" runat="server" />
                <Hishop:ShippingStatusLabel ID="lblOrderShippingStatus" runat="server" />
                <Hishop:RefundStatusLabel ID="lblOrderRefundStatus" runat="server" />
            </td>
            <td style="padding-left:1px"><span class="spanB"><nobr><asp:Literal ID="Literal8" Text="<%$Resources:OrderDetails,IDS_FormField_OrderDate%>" runat="server"></asp:Literal>：</span></nobr></td>
            <td style="padding-left:1px"><Hishop:FormatedTimeLabel ID="litDateTime" ShopTime="true" runat="server" /></td>
            <td style="padding-left:1px"><span class="spanB"><nobr>所属会员：</nobr></td>
            <td style="padding-left:1px"><asp:Literal ID="litUserName" runat="server"></asp:Literal><asp:Literal ID="litRankName" runat="server"></asp:Literal></td>
          </tr>
        </table>
  </div>
  <div class="title_bt">
  <ul>
  	 <li class="no"  id="1">订单发货</li>
  </ul>
  </div>
   <div class="cuent_mian"  id="a1">
       <div style="margin-top:10px; margin-left:10px; margin-bottom:20px; width:880px; padding-left:30px;">
          <Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" />
          <div>
            <div style="margin-top:10px;float:left;"><asp:Literal ID="litModeName" runat="server" Text="<%$Resources:SendGoods, IDS_DataField_ModeName%>"/></div>
            <Hishop:ShippingModeRadioButtonList ID="radioShippingMode" style="float:left;" runat="server" RepeatDirection="Horizontal" RepeatColumns="5" />
          </div>
          <div style=" clear:both;">
              <table>
                  <tr>
                      <td><asp:Literal ID="litShipOrderNumber" runat="server" Text="发货单号："/></td>
                      <td><asp:TextBox ID="lblShipOrderNumber" Width="180" runat="server" /></td>
                      <td><div id="lblShipOrderNumberTip" runat="server" style="width:250px;"></div>
                            <Hishop:ValidateTarget ID="ValidateTarget3" runat="server" ControlToValidate="lblShipOrderNumber" ContainerId="ValidatorContainer" Nullable="false" Description="&nbsp;&nbsp;发货单号不能超过30个字符">
                                <Validators>
                                    <Hishop:InputStringClientValidator ErrorMessage="&nbsp;&nbsp;发货单号不能超过30个字符" LowerBound="1" UpperBound="30" />
                                </Validators>
                            </Hishop:ValidateTarget>
                      </td>
                  </tr>
              </table>
          </div>
          <div><asp:Button ID="btnSendGood"  runat="server" Text="确认发货"  OnClientClick="return PageIsValid()" /></div>
       </div>
       <div class="title">
          <table border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="470"><span class="spanA">&gt;</span>&gt; <asp:Literal ID="Literal3" Text="<%$Resources:OrderDetails, IDS_Title_ShippingerInfo%>" runat="server"></asp:Literal></td>
              <td width="460"><span class="spanA">&gt;</span>&gt; <asp:Literal ID="Literal6" Text="<%$Resources:OrderDetails,IDS_Field_BuyInfo%>" runat="server"></asp:Literal></td>
            </tr>
          </table>
       </div>
       <div class="content">
          <table width="908" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="86"><asp:Literal ID="Literal7" runat="server" Text="<%$Resources:OrderDetails, IDS_DataField_ShipTo%>" /></td>
              <td width="390"><asp:Label ID="lblShipTo" runat="server" /><br /></td>
              <td width="86"><asp:Literal ID="Literal11" runat="server" Text="<%$Resources:OrderDetails,IDS_Field_PurchaserName%>" /></td>
              <td width="361"><asp:Literal ID="lblPurchaser" runat="server" /></td>
            </tr>
            <tr>
              <td><asp:Literal ID="Literal12" runat="server" Text="<%$Resources:OrderDetails, IDS_DataField_Address%>" /></td>
              <td><asp:Label ID="lblRegion" runat="server" /><asp:Label ID="lblAddress" runat="server" /></td>
              <td><asp:Literal ID="Literal15" runat="server" Text="<%$Resources:OrderDetails, IDS_DataField_Address%>" /></td>
              <td><asp:Literal ID="lblPurchaserRegion" runat="server" /><asp:Literal ID="lblPurchaserAddress" runat="server" /></td>
            </tr>
            <tr>
              <td><asp:Literal ID="Literal16" runat="server" Text="<%$Resources:OrderDetails, IDS_DataField_ZipCode%>" /></td>
              <td><asp:Label ID="lblZipcode" runat="server" /></td>
              <td><asp:Literal ID="Literal19" runat="server" Text="<%$Resources:OrderDetails, IDS_DataField_TelPhone%>" /></td>
              <td><asp:Literal ID="lblPurchaserTellPhone" runat="server" /></td>
            </tr>
            <tr>
              <td><asp:Literal ID="Literal20" runat="server" Text="<%$Resources:OrderDetails, IDS_DataField_TelPhone%>" /></td>
              <td><asp:Label ID="lblTellPhone" runat="server" /></td>
              <td><asp:Literal ID="Literal22" runat="server" Text="<%$Resources:OrderDetails, IDS_DataField_CellPhone%>" /></td>
              <td><asp:Literal ID="lblPurchaserPhone" runat="server" /></td>
            </tr>
            <tr>
              <td><asp:Literal ID="Literal23" runat="server" Text="<%$Resources:OrderDetails, IDS_DataField_CellPhone%>" /></td>
              <td><asp:Label ID="lblPhone" runat="server" /></td>
              <td><asp:Literal ID="Literal25" runat="server" Text="<%$Resources:EditUserControl, IDS_FromField_lblPrivateEmail%>" />：</td>
              <td><asp:Literal ID="litPurchaserEmailAddress" runat="server" /></td>
            </tr>
            <tr>
              <td><asp:Literal ID="Literal26" runat="server" Text="<%$Resources:EditUserControl, IDS_FromField_lblPrivateEmail%>" />：</td>
              <td><asp:Literal ID="litEmailAddress" runat="server" /></td>
              <td>QQ：</td>
              <td><asp:Literal ID="lblPurchaserQQ" runat="server" /></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>MSN：</td>
              <td><asp:Literal ID="lblPurchaserMSN" runat="server" /></td>
            </tr>
          </table>
     </div>
     <div class="title_b"><span class="spanA">&gt;</span><span class="spanC">&gt; </span><span class="spanD"><asp:Literal ID="litOrderItem" runat="server" Text="<%$Resources:OrderDetails,IDS_Field_ProductInfo%>"></asp:Literal></span><span class="spanC"></span></div>
     <div style="text-align:center; width:100%;">   
         <div style="padding:10px; text-align:left;">
             <asp:DataList ID="dlstOrderItems" runat="server" DataKeyField="ItemId" Width="100%" >
                <HeaderTemplate>
                    <table cellspacing="0" border="0" >
                        <tr >
                            <th class="content_table_title" width="80px"><asp:Literal ID="litProcuct" runat="server" Text="<%$Resources:OrderDetails,IDS_Head_Photo%>"></asp:Literal></th>
                            <th class="content_table_title" width="140"><asp:Literal ID="Literal1"  runat="server" Text="<%$Resources:OrderDetails,IDS_Field_SKU%>"></asp:Literal></th>                            
                            <th class="content_table_title" width="480"><asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:OrderDetails,IDS_Header_Product %>"></asp:Literal></th>
                            <th class="content_table_title" width="86"><asp:Literal ID="litPoints" runat="server" Text="<%$Resources:OrderDetails,IDS_Field_BuyNum%>"></asp:Literal></th>
                            <th class="content_table_title" width="86"><asp:Literal ID="litProductQuantity" runat="server" Text="<%$Resources:OrderDetails,IDS_Field_ProductPrice%>"></asp:Literal></th>
                            <th class="content_table_title" width="86"><asp:Literal ID="litShipQuantity" runat="server" Text="<%$ Resources:OrderDetails,IDS_Header_ShipQuantity %>"></asp:Literal></th>
                            <th class="content_table_title" width="86"><asp:Literal ID="litAllAmount" runat="server" Text="<%$Resources:OrderDetails,IDS_Field_XiaoJi%>"></asp:Literal></th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td >
                            <Hishop:Common_Link_Product ID="Common_Link_Product1" runat="server">
                                <Hishop:Common_ProductThumbnail ID="Common_ProductThumbnail1" Width="60px" Height="60px" runat="server" DataField="ThumbnailsUrl"/>
                            </Hishop:Common_Link_Product>                            
                        </td>
                        <td><asp:Literal ID="Literal5" runat="server" Text='<%# Eval("sku") %>'></asp:Literal></td>
                        <td>
                            <Hishop:ProductNavigationDetails ID="productNavigationDetails1" ProductName='<%# Eval("ItemDescription") %>' ProductId='<%# Eval("ProductId") %>' runat="server" />
                            <%# Eval("ItemAttribute")%><br />
                            <%# Eval("Remark")%>
                        </td>
                        <td><asp:Literal ID="lblProductQuantity" runat="server" Text='<%# Eval("Quantity") %>'></asp:Literal></td>                        
                        <td ><Hishop:FormatedMoneyLabelForAdmin ID="lblAmount" runat="server" Money='<%# Eval("ItemListPrice") %>' /></td>
                        <td ><asp:Literal ID="lblShipQuantity" runat="server" Text='<%# Eval("ShipmentQuantity") %>'></asp:Literal></td >
                        <td><Hishop:FormatedMoneyLabelForAdmin ID="FormatedMoneyLabelForAdmin2"  runat="server" Money='<%# (decimal)Eval("ItemAdjustedPrice")*(int)Eval("Quantity") %>'/></td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:DataList>
         </div>  
          <div style="padding:10px;"> 
          <table border="0" cellspacing="0" cellpadding="0" Width="100%">
            <tr>
              <td colspan="6" align="right"><span class="spanA">商品总重量（含礼品）</span>： <span class="spanC"><asp:Literal ID="litWeight" runat="server" Text="-" /> 克</span> </td>
            </tr>
          </table>
        </div>
        <table width="200" border="0" cellpadding="0" cellspacing="0" class="title_d">
          <tr>
            <td width="49" align="center">&nbsp;</td>
            <td width="909" align="left" class="spanF" style="word-break:break-all;">买家备注：<asp:Literal ID="litRemark"  runat="server" /></td>
          </tr>
        </table>
     </div>
  </div>
                </SkinTemplate>
            </Hishop:SendGoods>
            <br />
        <div class="botCopyInfo">
            <hr style="width:500px;" />
            <Hishop:SiteCopyright ID="SiteCopyright1" runat="server" />
        </div>
        </div>
    </form>
</body>
</html>
