190 lines
7.0 KiB
Plaintext
190 lines
7.0 KiB
Plaintext
<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="getshipments.aspx.cs" Inherits="Mtxfw.VipSite.getshipments" %>
|
|
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head id="Head1" runat="server">
|
|
<title></title>
|
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
|
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<script src="/Scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
|
|
<script src="/Scripts/jquery-migrate-1.1.1.min.js" type="text/javascript"></script>
|
|
<script src="/Scripts/common.js" type="text/javascript"></script>
|
|
<link href="/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
|
|
|
|
<!-- Basic Styles -->
|
|
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/bootstrap.css">
|
|
<!--[if IE 7]>
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/font-awesome-ie7.min.css">
|
|
<![endif]-->
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-production.css">
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-skins.css">
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/your_style.css">
|
|
|
|
<!-- Demo purpose only: goes with demo.js, you can delete this css when designing your own WebApp -->
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/demo.css">
|
|
|
|
|
|
<!-- FAVICONS -->
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
|
<link rel="icon" href="/favicon.ico" type="image/x-icon">
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="/css/cjadd.css">
|
|
<style type="text/css">
|
|
.data_table td input[type="text"]
|
|
{
|
|
width:100px;
|
|
text-align:center;
|
|
}
|
|
</style>
|
|
<script src="Scripts/setdate.js" type="text/javascript"></script>
|
|
<script src="/artDialog/artDialog.js?skin=default" type="text/javascript"></script>
|
|
<script src="/artDialog/iframeTools.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function () {
|
|
var d = $(window.parent.document);
|
|
var products = d.find("#hiddenproducts").val();
|
|
if (products != "") {
|
|
var aproducts = products.split(",");
|
|
for (var i = 0; i < aproducts.length; i++) {
|
|
if (aproducts[i] != "") {
|
|
if ($("#select_product" + aproducts[i]).val() == aproducts[i]) {
|
|
document.getElementById("select_product" + aproducts[i]).checked = true;
|
|
} else {
|
|
document.getElementById("select_product" + aproducts[i]).checked = false;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
});
|
|
var search = function () {
|
|
var key = document.getElementById('text_key');
|
|
var MorN = $("#Drop_MorN");
|
|
if (key != "")
|
|
location.href = "getshipments.aspx?morn=" + MorN.val() + "&key=" + escape(key.value);
|
|
};
|
|
function qysel() {
|
|
var strid = "";
|
|
var p_table = document.getElementById('p_table');
|
|
var checka = p_table.getElementsByTagName('input');
|
|
|
|
for (var i = 0; i < checka.length; i++) {
|
|
|
|
if (checka[i].checked) {
|
|
if (strid == "") {
|
|
strid = checka[i].value;
|
|
} else {
|
|
strid += "," + checka[i].value;
|
|
}
|
|
}
|
|
}
|
|
var d = $(window.parent.document);
|
|
d.find("#hiddenproducts").val(strid);
|
|
art.dialog.close();
|
|
}
|
|
function qksel() {
|
|
var strid = "";
|
|
var p_table = document.getElementById('p_table');
|
|
var checka = p_table.getElementsByTagName('input');
|
|
|
|
for (var i = 0; i < checka.length; i++) {
|
|
|
|
if (checka[i].checked) {
|
|
checka[i].checked = false;
|
|
}
|
|
}
|
|
var d = $(window.parent.document);
|
|
d.find("#hiddenproducts").val("");
|
|
art.dialog.close();
|
|
}
|
|
</script>
|
|
<style type="text/css">
|
|
#Label_JF{ color:Red;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<form runat="server">
|
|
<!-- RIBBON -->
|
|
|
|
<!-- MAIN CONTENT -->
|
|
<div style="opacity: 1;" id="content">
|
|
<div class="frontMain">
|
|
|
|
<div class="MainContent">
|
|
<table width="100%" border="0" class="data_table" id="p_table" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td colspan="9">
|
|
|
|
<asp:DropDownList ID="Drop_MorN" runat="server">
|
|
|
|
<asp:ListItem Text="按快递单号" Value="0"></asp:ListItem>
|
|
<asp:ListItem Text="按快递公司" Value="1"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
<input id="text_key" type="text" value="<%=Request.QueryString["key"] %>" style=" width:200px;"/>
|
|
<input id="btn_search" type="button" value="搜索" onclick="search()" class="abtn" />
|
|
</td>
|
|
</tr>
|
|
<tr bgcolor="#f7f7f7">
|
|
|
|
|
|
<th><b>发货数量</b></th>
|
|
<th><b>快递单号</b></th>
|
|
<th><b>快递公司</b></th>
|
|
<th><b>备注信息</b></th>
|
|
<th><b>发货时间</b></th>
|
|
<th><b>状态</b></th>
|
|
|
|
</tr>
|
|
<asp:Repeater ID="Repeater1" runat="server">
|
|
<ItemTemplate>
|
|
<tr <%#(Container.ItemIndex + 1)%2==0?"bgColor=\"#f4f4f4\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#f4f4f4\"'":"bgColor=\"#ffffff\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#ffffff\"'"%>>
|
|
|
|
<td><%#Convert.ToDouble(Eval("Addmoney")).ToString() %></td>
|
|
<td><%#Eval("OrdersIDs")%></td>
|
|
<td><%#Eval("PayID")%></td>
|
|
<td><%#Eval("BZContent")%></td>
|
|
<td><%#Eval("addtime")%></td>
|
|
<td><%#Eval("Seef").ToString().ToLower() == "1" ? "已收货" : "待收货"%>
|
|
</td>
|
|
|
|
</tr>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
<tr>
|
|
<td colspan="9" style="text-align:left" class="th">
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="9"> <webdiyer:AspNetPager ID="MyPager" AlwaysShow="true" runat="server"
|
|
FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
|
|
CustomInfoHTML="共 <font color="red">%RecordCount%</font> 条记录 当前 <font color="red">%CurrentPageIndex%/%PageCount%</font> 页"
|
|
PrevPageText="上一页" ShowPageIndexBox="Always" ShowCustomInfoSection="Left"
|
|
SubmitButtonText="Go" TextAfterPageIndexBox="页" ShowBoxThreshold="100"
|
|
CurrentPageButtonPosition="Center" ShowMoreButtons="False" PageIndexBoxType="DropDownList"
|
|
TextBeforePageIndexBox="转到" UrlPaging="True">
|
|
</webdiyer:AspNetPager></td>
|
|
</tr>
|
|
</table>
|
|
<div style="height:3em;text-align:center;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
</body></html>
|