<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Basket_Detail.aspx.cs" Inherits="TotCms.Web.Admin.Shop.Basket_Detail" %>
<%@ Register src="../UI/main_top.ascx" tagname="main_top" tagprefix="uc1" %>
<%@ Register assembly="TotCms.Controls" namespace="TotCms.Controls" tagprefix="cc1" %>
<!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>
    <link href="../style/global.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
      .style1
      {
        width: 100%;
      }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>    
      <uc1:main_top ID="main_top1" runat="server" />    
    </div>
    <table class="style1">
      <tr class="suphead" >
        <td align="center"colspan="2" height="25">
          订单详情</td>
      </tr>
      <tr>
        <td>
          总价：</td>
        <td>
          <asp:Label ID="lbTotalPrice" runat="server" Text=" " CssClass="red"></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          会员：</td>
        <td>
          <asp:Label ID="lbUserId" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          联系人：</td>
        <td>
          <asp:Label ID="lbMan" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          手机：</td>
        <td>
          <asp:Label ID="Mobile" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          电话：</td>
        <td>
          <asp:Label ID="Tel" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          邮箱：</td>
        <td>
          <asp:Label ID="Mail" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          学校：</td>
        <td>
          <asp:Label ID="School" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          地址：</td>
        <td>
          <asp:Label ID="Address" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          邮编：</td>
        <td>
          <asp:Label ID="Postcode" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          支付方式：</td>
        <td>
          <asp:Label ID="Paytype" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          价格：</td>
        <td>
          <asp:Label ID="Price" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          数量：</td>
        <td>
          <asp:Label ID="Nums" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          运费：</td>
        <td>
          <asp:Label ID="Freight" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          优惠：</td>
        <td>
          <asp:TextBox ID="Discount" runat="server" Width="54px"></asp:TextBox>
          <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="确定" />
        </td>
      </tr>
      <tr>
        <td>
          重量：</td>
        <td>
          <asp:Label ID="Weight" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          快递号：</td>
        <td>
          <asp:TextBox ID="ExpressNo" runat="server"></asp:TextBox>
          <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="发货" />
        </td>
      </tr>
      <tr>
        <td>
          发票抬头：</td>
        <td>
          <asp:Label ID="InvoiceTitle" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          下单日期：</td>
        <td>
          <asp:Label ID="OrderDate" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          发货日期：</td>
        <td>
          <asp:Label ID="SendDate" runat="server" Text=" "></asp:Label>
        </td>
      </tr>
      <tr>
        <td>
          &nbsp;</td>
        <td>
          &nbsp;</td>
      </tr>
    </table>
    <div><h2>明细</h2></div>
    <table cellpadding="0" cellspacing="1" border="0" width="100%">
      <asp:Repeater ID="RepeatList" runat="server">
        <HeaderTemplate>
          <tr class="suphead">
              <td>Id</td>
              <td>会员ID</td>
              <td>图</td>
              <td>名称</td>
              <td>价格</td>
              <td>折扣</td>
              <td>数量</td>
              <td>重量</td>
              <td>总计</td>
          </tr>
        </HeaderTemplate>
        <ItemTemplate>
          <tr class="lines">
            <td><asp:TextBox ID="ChkTxt" runat="server" CssClass="hidden" Text='<%# Eval("id") %>'></asp:TextBox></td>
            <td><div align="left">&nbsp;<a href="Basket_Detail.aspx?id=<%# Eval("UserId") %>" target="_blank"><%# Eval("UserId")%></a></div></td>
            <td><a href='/Goods/Show.aspx?id=<%# Eval("GoodsId")%>' target="_blank"><img src='<%# Eval("Photo")%>' width="100" height="120" /></a></td>
            <td><a href='/Goods/Show.aspx?id=<%# Eval("GoodsId")%>' target="_blank"><%# Eval("GoodsTitle")%></a></td>
            <td><%# Eval("Price")%></td>
            <td><%# Eval("Discount") %></td>
            <td><%# Eval("Nums") %></td>
            <td><%# Eval("Weight")%></td>
            <td><%# Convert.ToInt32(Eval("Nums")) * Convert.ToDecimal(Eval("Price"))%></td>
          </tr>
         </ItemTemplate>
         </asp:Repeater>      
      
    </table>
    </form>
</body>
</html>
