<%@ page language="C#" autoeventwireup="true" inherits="mall_sj_view_order, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register TagName="topbar" TagPrefix="UC" Src="~/mall/topbar.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/mall/head.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/mall/foot.ascx" %>
<!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>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>查看订单详情_<%=ZK.config("title","mall") %></title>
    <meta name="keywords" content=" <%=ZK.config("keywords","mall") %>" />
    <meta name="description" content=" <%=ZK.config("description","mall") %>" />
    <script type="text/javascript" src="/s/skin/base.js"></script>
    <link type="text/css" rel="stylesheet" href="/mall/skin/style.css" />
    <script type="text/javascript" src="/mall/skin/public.js"></script>
    <style type="text/css"> .self_sj_view_order{}.self_sj_view_order table{background-color:#f3c8c5;}.self_sj_view_order td{font-size:14px;padding:8px 6px;background-color:#fff;color:#333;}.self_sj_view_order .td1{background-color:#ffeeee;text-align:right;color:#8a332d;width:110px;}.self_sj_view_order .td2{}.self_sj_view_order .td2 strong{color:#f30;}.self_sj_view_order .td2 a{color:#069;}.self_sj_view_order .td2 a:hover{color:#f60;}.self_sj_view_order .td2 td{padding-top:3px;padding-bottom:1px}</style>
    <script type="text/javascript">
        function self_do1(){
            if(document.getElementById("Repeater1_ctl01_DropDownList1").value=="")alert("请选择！");
            else{
                window.location="sj_view_order.aspx?id=<%=WM.RQ("id") %>&act=state&par1="+escape(document.getElementById("Repeater1_ctl01_DropDownList1").value);
            }
        }
    </script>
</head>
<body>
    <%--<noscript><style type="text/css"> body,.wrap{background-color:#fff;background-image:none;}.box,.topbar{display:none;}</style><div class="noscript">您的浏览器不支持Javascript，请升级你的浏览器或者打开Javascript支持！</div></noscript>--%>
    <a name="pagetop" id="pagetop"></a>
    <div class="wrap">
        <UC:topbar ID="topbar1" runat="server" />
        <UC:head ID="head1" runat="server" />
        <div class="box">
            <div class="c1 mt10">
                <div class="b3">
                    <div class="fl"></div>
                    <div class="con">查看订单详情</div>
                    <div class="fr" style="width:100px; padding-right:8px"><a href="/user/mall.aspx" rel="nofollow">返回&raquo;</a></div>
                    <div class="clear"></div>
                </div>
                <div class="v1" style="border-color: #e05d5d">
                    <form id="form1" runat="server">
                    <asp:Repeater ID="Repeater1" runat="server">
                        <HeaderTemplate><div class="self_sj_view_order"><table border="0" cellpadding="0" cellspacing="1" width="100%"></HeaderTemplate>
                        <ItemTemplate>
                            <tr>
                                <td class="td1">订单产品：</td>
                                <td class="td2"><a href="/mall/<%#Eval("fid") %>.htm" target="_blank"><%#Eval("malltitle") %></a></td>
                            </tr>
                            <tr>
                                <td class="td1">订单创建时间：</td>
                                <td class="td2"><%#WMtime.FormatDateTime(Eval("time").ToString(),"")%></td>
                            </tr>
                            <tr>
                                <td class="td1">订单状态：</td>
                                <td class="td2">
                                    <div style="color:#f00; padding-left:6px"><span style="font-weight:bold;">当前状态：</span><%#Eval("state")%></div>
                                    <div style="padding-top:4px">                                      
                                       <table border="0" cellpadding="0" cellspacing="0">
                                           <tr>
                                               <td><div style="color:#0c8e31;">设置更改此订单状态：</div></td>
                                               <td>
                                                   <asp:DropDownList ID="DropDownList1" runat="server" style="font-size:14px; width:200px; color:#333;">
                                                   <asp:ListItem Value="" Text="请选择"></asp:ListItem>
                                                   <asp:ListItem Value="已下订单" Text="标记为“已下订单”"></asp:ListItem>
                                                   <asp:ListItem Value="已发货" Text="标记为“已发货”"></asp:ListItem>
                                                   <asp:ListItem Value="交易完成" Text="标记为“交易完成”"></asp:ListItem>
                                                   <asp:ListItem Value="无效订单" Text="标记为“无效订单”"></asp:ListItem>                                           
                                                   </asp:DropDownList>
                                               </td>
                                               <td><input type="button" class="but4" value="确定设置" onclick="return self_do1();" /></td>
                                           </tr>
                                       </table>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="td1">&nbsp;</td>
                                <td class="td2">&nbsp;</td>
                            </tr>
                            <tr>
                                <td class="td1">单价：</td>
                                <td class="td2"><strong><%#FUN.FormatPrice(Eval("oneprice").ToString())%></strong></td>
                            </tr>
                            <tr>
                                <td class="td1">购买数量：</td>
                                <td class="td2"><%#Eval("buycount")%></td>
                            </tr>
                            <tr>
                                <td class="td1">总金额：</td>
                                <td class="td2"><strong><%#FUN.FormatPrice(Eval("allprice").ToString())%></strong></td>
                            </tr>
                            <tr>
                                <td class="td1">&nbsp;</td>
                                <td class="td2">&nbsp;</td>
                            </tr>
                            <tr>
                                <td class="td1">购买者：</td>
                                <td class="td2"><a href="/space/?uid=<%#Eval("uid") %>" target="_blank"><%#ZK.m_u(Eval("uid").ToString())%></a></td>
                            </tr>
                            <tr>
                                <td class="td1">交易方式：</td>
                                <td class="td2"><%#Eval("buytype")%></td>
                            </tr>
                            <tr>
                                <td class="td1">联系人：</td>
                                <td class="td2"><%#Eval("contact")%></td>
                            </tr>
                            <tr>
                                <td class="td1">收货地址：</td>
                                <td class="td2"><%#Eval("address")%></td>
                            </tr>
                            <tr>
                                <td class="td1">邮政编码：</td>
                                <td class="td2"><%#Eval("postcode")%></td>
                            </tr>
                            <tr>
                                <td class="td1">联系电话：</td>
                                <td class="td2"><%#Eval("phone")%></td>
                            </tr>
                            <tr>
                                <td class="td1">补充说明：</td>
                                <td class="td2"><%#Eval("note")%></td>
                            </tr>
                        </ItemTemplate>
                        <FooterTemplate></table></div></FooterTemplate>
                    </asp:Repeater>
                    </form>
                </div>
            </div>
        </div>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
