⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dc2104.jsp

📁 一个完整的物流系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="gb2312"%>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>content_main</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<link href="css/main_content.css" rel="stylesheet" type="text/css">
		<link href="css/button.css" rel="stylesheet" type="text/css">
		<link rel="stylesheet" type="text/css" href="css/displaytag.css">
		<script type="text/javascript" src="js/popcalendar.js"></script>
		<script type="text/javascript" src="js/jquery.min.js"></script>
		<script type="text/javascript"
			src="js/jquery_tablesorter/jquery.tablesorter.min.js"></script>
		<script type="text/javascript"
			src="js/jquery_tablesorter/jquery.tablesorter.pager.js"></script>
	</head>
	<script type="text/javascript">
var $j=$.noConflict();

$j(function(){
//返回按钮
	$j("#btnBack").click(function(){
		window.parent.location.href="form_tab.htm";
	});

//加载javascript文件
	/*
	$j.getScript("../js/jquery_tablesorter/jquery.tablesorter.min.js");
	$j.getScript("../js/jquery_tablesorter/jquery.tablesorter.pager.js");
	$j.getScript("../js/jquery_ui/jquery.dimensions.js");
	$j.getScript("../js/jquery_ui/ui.dialog.js");
	$j.getScript("../js/jquery_ui/ui.resizable.js");
	$j.getScript("../js/jquery_ui/ui.mouse.js");
	$j.getScript("../js/jquery_ui/ui.draggable.js");
	*/
	//$j.getScript("../js/popcalendar.js");

//表格排序
	$j("#tableSort").tablesorter().tablesorterPager({container: $j("#pager")});
	
//打开查询对话框
/*
	$j("#biaotiCol").dblclick(function(){
		//$j("#chaxunDIV").dialog();
		openDialog();
	});
	*/
	
//发送人列的查询
	$j("#fasongrenCol").click(function(){
		findFSR(this);
		//$j(this).parents("tbody").find("tr>td").contains(this.innerHTML).remove();
	});


//高级查询
	$j("#btnQuery").click(function(){
		$j("#divQuery").toggle("slow",function(){
			$j(".pagesize").change();
		});
	});
	$j("#btnQuery1").click(function(){
	document.all.form1.submit();
		
  	});

//加载子查询页面

	$j("#biaotiCol").dblclick(function(){
		openWin("query_biaoti.htm");
	});
	
	$j("#leixingCol").dblclick(function(){
		openWin("cw_type_select2.htm");
	});
	
	$j("#fasongrenCol").dblclick(function(){
		openWin("query_fasongren.htm");
	});
	
	$j("#fasongshijianCol").dblclick(function(){
		openWin("query_fasongshijian.htm");
	});

//触发事件
/*
	$j("#dateStart").click(function(){
		$j(this).calendar();
	});
	
	$j("#dateEnd").click(function(){
		$j(this).calendar();
	});
	*/
});

function openWin(url){
	window.open (url, "newwindow", "height=200, width=300, toolbar= no, menubar=no, scrollbars=no, resizable=no, location=no, status=no");
}

function ts(){
	$j("#tableSort").tablesorter().tablesorterPager({container: $j("#pager")});
}

function openDialog(){
	$j("#chaxunDIV").dialog();
}

function findFSR(obj){
	var fasongrenVal=obj.innerHTML;
		$j(obj).parents("tbody").find("tr").each(function(){
			$j("td:eq(4)",this).not($j("td:eq(4):contains('"+fasongrenVal+"')",this)).parent().remove();
		});
}
</script>
	<script language=javascript>
function checkAll(e, itemName)
{
  var aa = document.getElementsByName(itemName);
  for (var i=0; i<aa.length; i++)
   aa[i].checked = e.checked;
}
function checkItem(e, allName)
{
  var all = document.getElementsByName(allName)[0];
  if(!e.checked) all.checked = false;
  else
  {
    var aa = document.getElementsByName(e.name);
    for (var i=0; i<aa.length; i++)
     if(!aa[i].checked) return;
    all.checked = true;
  }
}
</script>
	<body style="margin: 0px;">
			<form name="form1" id="form1" action="DC2104E1S.do" method="post">
			<table width="100%" border="0" cellspacing="0" cellpadding="4">
				<tr>
					<td>
						<button id="btnQuery" class="pic_button2"
							onMouseOver="this.className='pic_button_over2';"
							onMouseOut="this.className='pic_button2';" title="打开关闭查询项">
							<IMG SRC="images/s6.gif">
							高级搜索
						</button>
					</td>
				</tr>
			</table>
			<div id="divQuery" style="display: none;">
				<table align="center" border="0" width="95%" class="content1">
					<tr>
						<td colspan="5" align="center">
							<button id="btnQuery1" class="pic_button2" type="submit"
								onMouseOver="this.className='pic_button_over2';"
								onMouseOut="this.className='pic_button2';" title="查 询">
								<img src="images/s6.gif" width="16" height="16" />
								查 询
							</button>
						</td>
					</tr>
								<tr>
						<td width="8%" class="title1">
							航线:
						</td>
						<td width="22%">
							<input type="text" name="line">
						</td>
						<td width="31%" class="title1">
							装箱量:
							<label for="textfield"></label>
							<input type="text" name="boxCount"/>
						</td>
						<td width="10%">
							<span class="title1">集装箱量:</span>
						</td>
						<td width="29%">
							<input type="text" name="boxWeight" />
						</td>
					</tr>
					<tr>
						<td class="title1">
							起运港:
						</td>
						<td>
							<label for="label"></label>
							<input type="text" name="startPort" id="label" />
						</td>
						<td colspan="3" class="title1">
							目的港:
							<label for="label2"></label>
							<input type="text" name="aimPort" id="label2" />
							<!--<input id="dateStart" type="text" name="text4">--<input id="dateEnd" type="text" name="text3" >-->
						</td>
					</tr>
				</table>			
			</div>
		
			<br>
			 
				<display:table id="XS3201ViewEntity1"
					name="sessionScope.XS3201ViewEntity1List" pagesize="10"
					class="table1">
					<display:setProperty name="export.pdf" value="true" />
					<display:column title="编号" sortable="true">${XS3201ViewEntity1.oid}</display:column>
					<display:column title="船名" sortable="true">${XS3201ViewEntity1.shipName}</display:column>
					<display:column title="航线" sortable="true">${XS3201ViewEntity1.line}</display:column>
					<display:column title="起运港" sortable="true">${XS3201ViewEntity1.staPort}</display:column>
					<display:column title="目的港" sortable="true">${XS3201ViewEntity1.aimPort}</display:column>
					<display:column title="开航时间" sortable="true">${XS3201ViewEntity1.voyTime}</display:column>
					<display:column title="到航时间" sortable="true">${XS3201ViewEntity1.arrive}</display:column>
					<display:column title="详细" sortable="true">
						<a href="XS3201E3S.do?oid=${XS3201ViewEntity1.oid}"><img
								src="images/s6.gif" width="16" height="16" border="0"
								title="查看详细"> </a>
					</display:column>
				</display:table>
		 
			<table width="100%" align="center" cellpadding="6" cellspacing="0"
				class="tr_title3">

			</table>
			<table width="100%" border="0" cellpadding="2" cellspacing="0"
				class="tr_title4">
				<tr>
					<td>
						&nbsp;
					</td>
					<td>
						&nbsp;
					</td>
				</tr>
			</table>
	</form>
		 
	</body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -