<%@ Page language="c#" Codebehind="OrderList.aspx.cs" AutoEventWireup="false" Inherits="XpShop.WebUI.Admin.OrderList" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
<HEAD>
	<!--#include file="inc/head.inc"-->
	<title>OrderList</title>
		<script language="javascript" src="../inc/calendar.js"></script>
		<script type="text/javascript" src="inc/PageBar.js"></script>
		<script type="text/javascript" src="inc/OrderList.js"></script>
		
		<style type="text/css">
		    .c1 {width:2%}
		    .c3 {width:20%}
		    .c4 {width:5%}
		    .c5 {width:4%}
		    .c6 {width:4%}
		    .c7 {width:4%}
		    .c8 {width:4%}
		    .c9 {width:5%}
		    .c10 {width:5%}
		    .c11 {width:5%}
		    .c12 {width:5%}
		    .c13 {width:5%}
		    .c14 {width:7%}
		    .c15 {width:4%}
		    .c16 {width:3%}
		    .c17 {width:3%;text-align:left;}
		    .manager{display:none;}
		    .delete{display:none;}
		</style>
</HEAD>
<body>
    <!--loading start-->
    <div id="loadingContainer">
        <div class="panel">
            <div class="loadIcon">
                <div>正在加载...</div>
            </div>
        </div>
        <div id="loadingbackground"></div>
    </div>
    <!--loading end-->
	<div class="container">
	<div class="sub_container" style="background-color:#E9E9E9;">
	<div class="sub_container_title"><a href="../default.aspx" target="_blank">桌面</a><img src="images/admin_title.jpg" height=9px width=8px align="absmiddle" />订单管理  <asp:Label id="lblTitleInfo" runat="server"></asp:Label></div>
	<form id="Form1" method="post" runat="server">
	<div class="sub_container_operation">
	     <table cellSpacing="0" cellPadding="0" width="100%" align="center">
		    <tr>
			    <td align="right">关键字：</td>
			    <td><asp:dropdownlist id="ddlKeyType" Runat="server">
					    <asp:ListItem Selected="True" Value="OrderNo">订单号</asp:ListItem>
					    <asp:ListItem Value="Name">会员帐户</asp:ListItem>
				    </asp:dropdownlist><asp:textbox id="txtKeyword" runat="server"></asp:textbox><asp:button id="btnSearch" runat="server" Text="搜索" CssClass="inputbtn"></asp:button></td>
		    </tr>
		    <tr>
			    <td align="right">订单状态：</td>
			    <td><asp:dropdownlist id="ddlConfirmed" Runat="server">
					    <asp:ListItem Value="All">是否已确认</asp:ListItem>
					    <asp:ListItem Value="1">已确认</asp:ListItem>
					    <asp:ListItem Selected="True" Value="0">未确认</asp:ListItem>
				    </asp:dropdownlist><asp:dropdownlist id="ddlPayed" Runat="server">
					    <asp:ListItem Selected="True" Value="All">是否已付款</asp:ListItem>
					    <asp:ListItem Value="2">已付款</asp:ListItem>
					    <asp:ListItem Value="0">未付款</asp:ListItem>
				    </asp:dropdownlist><asp:dropdownlist id="ddlShipped" Runat="server">
					    <asp:ListItem Selected="True" Value="All">是否已发货</asp:ListItem>
					    <asp:ListItem Value="2">已发货</asp:ListItem>
					    <asp:ListItem Value="0">未发货</asp:ListItem>
				    </asp:dropdownlist><asp:dropdownlist id="ddlFinished" Runat="server">
					    <asp:ListItem Selected="True" Value="All">是否已归档</asp:ListItem>
					    <asp:ListItem Value="1">已归档</asp:ListItem>
					    <asp:ListItem Value="0">未归档</asp:ListItem>
				    </asp:dropdownlist><asp:dropdownlist id="ddlCancelled" Runat="server">
					    <asp:ListItem Selected="True" Value="All">是否已取消</asp:ListItem>
					    <asp:ListItem Value="1">已取消</asp:ListItem>
					    <asp:ListItem Value="0">未取消</asp:ListItem>
				    </asp:dropdownlist></td>
		    </tr>
		    <tr>
			    <td align="right">时间：</td>
			    <td>
			        从<a href="javascript:show_calendar('Form1.txtDateFrom');" title="点击选择时间"><IMG src="../images/imgbtn_Date.jpg" align="absMiddle" border="0"></a><asp:textbox id="txtDateFrom" runat="server" ToolTip="点左边图标选择时间"></asp:textbox>
			        到<a href="javascript:show_calendar('Form1.txtDateTo');" title="点击选择时间"><IMG src="../images/imgbtn_Date.jpg" align="absMiddle" border="0"></a><asp:textbox id="txtDateTo" runat="server" ToolTip="点左边图标选择时间"></asp:textbox>(请填写正确的时间格式,比如:2005/05/07,2008-5-7)
			    </td>
		    </tr>
		    <tr>
			    <td align="right"></td>
			    <td></td>
		    </tr>
		    <tr>
		        <td colspan="2">
					<asp:Button id="btnDelete" runat="server" Text="删除订单" CssClass="inputbtn hide"></asp:Button>
					<asp:Button id="bt_print" runat="server" Text="打印订单" Visible="false" CssClass="inputbtn hide"></asp:Button>
					<asp:Button id="btnExport" runat="server" CssClass="inputbtn" Text="导出"></asp:Button>
					<input type="hidden" id="keys" name="keys" />
				</td>
		    </tr>
	    </table>
	</div>
	<div class="sub_container_listhead" style="padding:0px;">
        <table cellSpacing="0" cellPadding="0" class="llist">
            <tr id="listhead"><%--id="listhead"不能少--%>
                <th class="c1"><input type="checkbox" id="chkAll" name="chkAll" /></th>
                <th class="c3">单号</th>
                <th class="c4">下订时间</th>
                <th class="c5">货品总额</th>
                <th class="c6">运费</th>
                <th class="c7">总金额</th>
                <th class="c8">预付款</th>
                <th class="c9">实际应付款</th>
                <th class="c10">配送方式</th>
                <th class="c11">支付方式</th>
                <th class="c12">购物会员</th>
                <th class="c13">收货人</th>
                <th class="c14">联系电话</th>
                <th class="c15">订单状态</th>
                <th class="c16">管理</th>
                <th class="c17 delete" style="text-align:left;">删除</th>
            </tr>
        </table>
    </div>
    <div class="sub_container_content" style="padding:0px;">  
        <table id="datas" cellSpacing="0" cellPadding="0" class="llist" style="text-align:center;word-break:break-all">
	        <tr id="template" style="display:none;"><%--id="template"不能少--%>
	            <td class="c1" id="CheckBox"></td>
	            <td class="c3" id="OrderNo" style="word-break:break-all;"></td>
	            <td class="c4" id="OrderTime"></td>
	            <td class="c5" id="ProductPrice"></td>
	            <td class="c6" id="ShipPrice"></td>
	            <td class="c7" id="TotalPrice"></td>
	            <td class="c8" id="AdvancePayment"></td>
	            <td class="c9" id="NeedPay"></td>
	            <td class="c10" id="ShippingType"></td>
	            <td class="c11" id="PaymentType"></td>
	            <td class="c12" id="MemberName"></td>
	            <td class="c13" id="ReceiverName"></td>
	            <td class="c14" id="ReceiverPhone"></td>
	            <td class="c15" id="Status"></td>
	            <td class="c16" id="Modify"></td>
	            <td class="c17" id="Delete"></td>
	        </tr>
        </table>
    </div>
    <!-- 翻页开始-->
    <div class="sub_container_page" id="pageDataList1_Pager"></div>
    <!-- 翻页结束-->
    
	</form>
	</div>
	</div>
	
	<iframe id="frmModify" style="width:100%;" scrolling="no"></iframe>
	<input type="hidden" id="frmHeight" /><%--记录窗口高度--%>
</body>
</HTML>
