<%@ page language="VB" autoeventwireup="false" inherits="qiye_admin_admin_ddtext, App_Web_admin_ddtext.aspx.25f04327" %>
<!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>
<title>订单详情</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script src="js/intjs.js" type="text/javascript"></script>
<style type="text/css">
<!--

    .style1
    {
        color: #999999;
        font-size: 12px;
        height: 30px;
    }
    .style2
    {
        height: 30px;
    }

-->
</style>
<link href="css/css.css" rel="stylesheet" type="text/css">
<link href="css/body.css" rel="stylesheet" type="text/css" />
<link href="css/text.css" rel="stylesheet" type="text/css">

<script type="text/javascript">
		document.oncontextmenu=new Function('event.returnValue=false;'); 
        </script>
</head>
<body>
    <form id="form1" runat="server">

      <table width="710" border="0" cellspacing="3" cellpadding="0">
      <tr>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td bgcolor="#E7E7E7"><table width="100%" border="0" cellspacing="1" cellpadding="0">
                  
                  
                  
                  <tr>
                    <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="8" cellpadding="0">
                      <tr>
                        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td><strong class="wuse12">　基本信息 
                                <asp:Label 
                                ID="goods_ts" runat="server"></asp:Label>
                              </strong></td>
                            </tr>
                        </table></td>
                      </tr>
                      <%If tb.Rows(0).Item("dd_cp_id") = "trolleys" Then%>
                      <tr>
                        <td bgcolor="#CACACA">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
                <tr>
                                          <td width="10%" height="25" align="center" bgcolor="#EFEFEF" class="wuse12">图片</td>
                                          <td align="center" bgcolor="#EFEFEF" class="wuse12">商品名称</td>
                              <td width="25%" align="center" bgcolor="#EFEFEF" class="wuse12"><span class="string_12_666666">商品货号</span></td>
                              <td width="10%" align="center" bgcolor="#EFEFEF" class="wuse12">单价</td>
                                          <td width="10%" align="center" bgcolor="#EFEFEF" class="wuse12">数量</td>
                            </tr>
                                        <%
                                            For i = 0 To shop_trolley.Length - 1
                                                Try
                                                    Dim shop_trolleys() As String = shop_trolley(i).Split("|")
                                                    Dim cp_jg As Single
                                                    If ubb.tables("select * from wn_cp where cp_id=" & shop_trolleys(0)).rows(0).item("cp_tj") = "False" Then
                                                        
                                                       
                                                        
                                                        If tb.Rows(0).Item("dd_xm") <> "未登陆用户" Then
                                                                                                                   
                                                            Dim dd_user_lei As Integer = ubb.tables("select user_lei from wn_user where user_uid='" & tb.Rows(0).Item("dd_xm") & "'").rows(0).item("user_lei")
                                                            Dim user_lei_jiage As Object = ubb.tables("select user_lei_jiage from wn_user_lei where user_lei_id=" & dd_user_lei).rows(0).item("user_lei_jiage")
                                                            cp_jg = ubb.tables("select * from wn_cp where cp_id=" & shop_trolleys(0)).rows(0).item("cp_jg") * user_lei_jiage
                                                        Else

                                                            cp_jg = ubb.tables("select * from wn_cp where cp_id=" & shop_trolleys(0)).rows(0).item("cp_jg")
                                                        End If
                                                        
                                                        
                                                 
                                                    Else
                                                        cp_jg = ubb.tables("select * from wn_cp where cp_id=" & shop_trolleys(0)).rows(0).item("cp_tjjg")
                                                    End If
              %>
                                        <tr>
                                          <td width="12%" bgcolor="#FFFFFF" align="center"><img src="<%=ubb.url%>file_shopimages/sl/<%=ubb.tables("select * from wn_cp where cp_id=" & shop_trolleys(0)).rows(0).item("cp_image")%>" height="60" style='margin-top: 5px;'/> </td>
                                          <td bgcolor="#FFFFFF" class="wuse12" ><%=ubb.tables("select * from wn_cp where cp_id=" & shop_trolleys(0)).rows(0).item("cp_name")%></td>
                                          <td align="center" bgcolor="#FFFFFF" class="wuse12" ><%=ubb.tables("select * from wn_cp where cp_id=" & shop_trolleys(0)).rows(0).item("cp_hh")%></td>
                                          <td align="center" bgcolor="#FFFFFF" ><span class="hongse12"><%=cp_jg%></span></span></td>
                                          <td align="center" bgcolor="#FFFFFF" class="lanse12"><%=shop_trolleys(1)%></td>
                            </tr>
                                        <%
                                    Catch ex As Exception

                                    End Try
                                        Next%>
                          </table>
                          </td>
                      </tr>
                      <tr>
                        <td bgcolor="#CACACA"><table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#D4D0C8">
                          <tr>
                            <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                                <tr>
                                  <td><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7">
                                    <tr>
                                      <td width="15%" height="30" align="center" bgcolor="#F6F6F6" class="huise12">订单编号：</td>
                                      <td class="wuse12">&nbsp;<%=tb.Rows(0).Item("dd_uid")%></td>
                                      <td width="15%" align="center" bgcolor="#F6F6F6"><span class="huise12">订单数量：</span></td>
                                      <td width="31%" class="wuse12">
                                          　
                                            <asp:Label ID="dd_sl2" runat="server"></asp:Label>                                      </td>
                                    </tr>
                                    <tr>
                                      <td height="30" align="center" bgcolor="#F6F6F6"><span class="huise12">宝贝小计：</span></td>
                                      <td><span class="wuse12">　
                                        <asp:TextBox ID="dd_jg2" 
                                        runat="server" CssClass="heisexiahuaxiantext" AutoPostBack="True" 
                                        Height="18px" Width="50px" onkeydown="intjs()" Enabled="False" ></asp:TextBox>
元 </span>&nbsp;&nbsp;&nbsp; <span class="huise12">←直接输入修改订单价格</span></td>
                                      <td align="center" bgcolor="#F6F6F6"><span class="huise12">下单时间：</span></td>
                                      <td class="wuse12">
                                          　
                                            <asp:Label ID="dd_sj2" runat="server"></asp:Label>                                      </td>
                                    </tr>
                                    <tr>
                                      <td height="30" align="center" bgcolor="#F6F6F6"><span class="huise12">货运费用：</span></td>
                                      <td class="wuse12">
                                          　
                                            <asp:TextBox ID="dd_yf2" 
                                        runat="server" AutoPostBack="True" CssClass="heisexiahuaxiantext" Height="18px" 
                                        Width="50px" onkeydown="intjs()" Enabled="False"></asp:TextBox>
元 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="huise12">←直接输入修改货运费用</span></td>
                                      <td align="center" bgcolor="#F6F6F6" class="huise12">需要支付：</td>
                                      <td class="wuse12">　
                                          <strong><asp:Label CssClass="hongse14" ID="dd_hj2" runat="server"></asp:Label></strong>　
                                          元 </td>
                                    </tr>
                                    
                                  </table></td>
                                </tr>
                            </table></td>
                          </tr>
                        </table></td>
                      </tr>
                      
                      <%Else%>
                      <tr>
                        <td bgcolor="#CACACA"><table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#D4D0C8">
                            <tr>
                              <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                                  <tr>
                                    <td><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7">
                                      <tr>
                                        <td width="15%" height="30" align="right" bgcolor="#F6F6F6"><span class="huise12">宝贝名称：</span></td>
                                        <td colspan="2"><span class="wuse12">
                                          　
                                            <asp:Label ID="dd_name" runat="server"></asp:Label>
                                        </span></td>
                                        </tr>
                                      <tr>
                                        <td height="30" align="right" bgcolor="#F6F6F6"><span class="huise12">订单编号：</span></td>
                                        <td><span class="wuse12">&nbsp;　 <%=tb.Rows(0).Item("dd_uid")%></span></td>
                                        <td width="40%" rowspan="7" align="center" valign="middle"><asp:Image ID="dd_cp_image" runat="server" /></td>
                                      </tr>
                                      <tr>
                                        <td height="30" align="right" bgcolor="#F6F6F6"><span class="huise12">宝贝货号：</span></td>
                                        <td><span class="wuse12">　
                                            <asp:Label ID="dd_hh" runat="server"></asp:Label>
                                        </span></td>
                                        </tr>
                                      <tr>
                                        <td height="30" align="right" bgcolor="#F6F6F6"><span class="huise12">订购数量：</span></td>
                                        <td><span class="wuse12">　
                                            <asp:TextBox ID="dd_sl" 
                                        runat="server" CssClass="heisexiahuaxiantext" AutoPostBack="True" 
                                        Height="18px" Width="50px" onkeydown="intjs()" Enabled="False" ></asp:TextBox>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="huise12">←直接输入修改订购数量</span></span></td>
                                        </tr>
                                      <tr>
                                        <td height="30" align="right" bgcolor="#F6F6F6"><span class="huise12">宝贝单价：</span></td>
                                        <td><span class="wuse12">　
                                            <asp:TextBox ID="dd_jg" 
                                        runat="server" CssClass="heisexiahuaxiantext" AutoPostBack="True" 
                                        Height="18px" Width="50px" onkeydown="intjs()" Enabled="False" ></asp:TextBox>
元  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="huise12">←直接输入修改商品价格</span></span></td>
                                        </tr>
                                      <tr>
                                        <td height="30" align="right" bgcolor="#F6F6F6"><span class="huise12">货运费用：</span></td>
                                        <td><span class="wuse12">　
                                            <asp:TextBox ID="dd_yf" 
                                        runat="server" AutoPostBack="True" CssClass="heisexiahuaxiantext" Height="18px" 
                                        Width="50px" onkeydown="intjs()" Enabled="False"></asp:TextBox>
元  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="huise12">←直接输入修改货运费用</span></span></td>
                                        </tr>
                                      <tr>
                                        <td height="30" align="right" bgcolor="#F6F6F6" class="huise12">合　　计：</td>
                                        <td class="wuse12">
                                            　
                                            <strong><asp:Label CssClass="hongse14" ID="dd_hj" runat="server"></asp:Label></strong>　
元 </td>
                                        </tr>
                                      <tr>
                                        <td height="30" align="right" bgcolor="#F6F6F6"><span class="huise12">下单时间：</span></td>
                                        <td class="wuse12">
                                            <asp:Label ID="dd_sj" runat="server"></asp:Label>
                                       </td>
                                        </tr>
                                    </table>
                                    </td>
                                  </tr>
                              </table></td>
                            </tr>
                        </table></td>
                      </tr>
                      <%End If%>
                    </table>
                      <table width="100%" border="0" cellspacing="8" cellpadding="0">
                        <tr>
                          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="12%">&nbsp;</td>
                              <td width="88%"><strong class="wuse12">会员信息</strong></td>
                            </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td bgcolor="#CACACA"><table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#D4D0C8">
                                <tr>
                                  <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                                      <tr>
                                        <td><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7">
                                          <tr>
                                            <td width="15%" height="30" align="right" bgcolor="#F6F6F6" class="huise12">支付方式：</td>
                                            <td width="35%" height="25"><span class="wuse12"> 　
                                            <asp:Label CssClass="shenlanse14" ID="dd_fkfs" runat="server"></asp:Label>
                                            </span></td>
                                            <td width="15%" align="right" bgcolor="#F6F6F6"><span class="huise12">会员名称：</span></td>
                                            <td width="35%"><span class="wuse12">　
                                            <asp:Label ID="dd_xm" runat="server"></asp:Label>
                                            </span></td>
                                          </tr>
                                          <tr>
                                            <td height="30" align="right" bgcolor="#F6F6F6" class="huise12"><span class="wuse12">收货人姓名</span>：</td>
                                            <td height="25"><span class="wuse12">　
                                            <asp:Label ID="dd_sgname" runat="server"></asp:Label>
                                            </span></td>
                                            <td align="right" bgcolor="#F6F6F6"><span class="huise12"><span class="wuse12">联系电话</span>：</span></td>
                                            <td><span class="wuse12">　
                                                <asp:Label ID="dd_dh" runat="server"></asp:Label>
                                            </span></td>
                                          </tr>
                                          
                                          <tr>
                                            <td height="30" align="right" bgcolor="#F6F6F6" class="huise12">QQ 或MSN：</td>
                                            <td height="25"><span class="wuse12"> 　
                                            <asp:Label ID="dd_qq" runat="server"></asp:Label>
                                            </span></td>
                                            <td align="right" bgcolor="#F6F6F6"><span class="huise12"><span class="wuse12">电子邮箱</span>：</span></td>
                                            <td><span class="wuse12">　
                                                  <asp:Label ID="dd_email" runat="server"></asp:Label>
                                            </span></td>
                                          </tr>
                                          
                                          <tr>
                                            <td align="right" bgcolor="#F6F6F6" class="style1"><span class="wuse12">邮政编码</span>：</td>
                                            <td class="style2"><span class="wuse12"> 　
                                            <asp:Label ID="dd_yp" runat="server"></asp:Label>
                                            </span></td>
                                            <td align="right" bgcolor="#F6F6F6" class="style2"><span class="huise12">手工单管理：</span></td>
                                            <td class="style2"><asp:dropdownlist runat="server" ID="dd_admin_zhifu" 
                                                    AutoPostBack="True" Width="170px" Enabled="False">
                                                    <asp:ListItem Value="3">已付款 等待发货</asp:ListItem>
                                                     <asp:ListItem Value="4">已发货 等待确认</asp:ListItem>
                                                     <asp:ListItem Value="5">交易成功</asp:ListItem>
                                                     <asp:ListItem Value="6">交易关闭</asp:ListItem>
                                                     <asp:ListItem Value="8">申请退款</asp:ListItem>
                                                     <asp:ListItem Value="9">退款成功</asp:ListItem>
                                                     <asp:ListItem Value="11">手工单,未付款</asp:ListItem>
                                                    </asp:dropdownlist></td>
                                          </tr>
                                          <tr class="lvsetext">
                                            <td height="30" align="right" bgcolor="#F6F6F6" class="huise12">联系地址：</td>
                                            <td height="25" colspan="3"><span class="wuse12"> 　
                                            <asp:Label ID="dd_dz" runat="server"></asp:Label>
                                            </span></td>
                                          </tr>
                                          <tr>
                                            <td height="30" align="right" bgcolor="#F6F6F6" class="huise12">备注：</td>
                                            <td colspan="3"  class="wuse12" style="word-break: break-all">
                                                <asp:TextBox 
                                                          Height="130px" ID="dd_nr" runat="server" TextMode="MultiLine" 
                                                    Width="100%" CssClass="text_autox22_cccccc" AutoPostBack="True" /></td>
                                          </tr>
                                        </table></td>
                                    </tr>
                                  </table></td>
                                </tr>
                            </table></td>
                        </tr>
                    </table></td>
                  </tr>
              </table></td>
            </tr>
        </table></td>
      </tr>
    </table>
</form>
    </body>
    </html>