portLeftList.html 2.8 KB
<!DOCTYPE html>
<html lang="zh">
#@header()
<body>
	<div>
		<ol class="breadcrumb">
			<li>
				<a>码头管理</a>
			</li>
			<li>
				<a style="color: gray;">/</a>
			</li>
			<li class="active">离港码头</li>
		</ol>

		<div style="margin-left: 10px;">
			<table>
				<tr>
					<td><span style="margin-left: 3px;">货站</span></td>
					<td>
						<select id="stationList" style="margin-left: 3px;width: 200px;">
									#for(station : stationList)
									<option value="#(station.areaCode)"
										#if(stationArea??==station.areaCode)
											selected
										#end 
									>
										#(station.name)
									</option>
									#end
						</select>
					</td>
					
					<td><span style="margin-left: 20px;">离港码头编号</span></td>
					<td>
						<select id="portList" style="margin-left: 3px;width: 100px;">
									<option value="0">全部</option>
									#for(port : portList)
									<option value="#(port.portNo)"
										#if(portNo??==port.portNo)
											selected
										#end 
									>
										#(port.portNo)
									</option>
									#end
						</select>
					</td>
					<td><input id="searchInput" class="form-control" type="text" placeholder="货代/车牌号/司机/手机号"
							value="#(searchKey)" style="margin-left: 20px; width: 300px;" /></td>
					<td><button class="btn btn-success" onclick="onSearchAction()" style="margin-left: 5px;">搜索</button></td>
					<td><button class="btn btn-primary" onclick="onAddAction()" style="margin-left: 30px;">码头分配</button></td>
				</tr>
			</table>
		</div>

		<div style="margin: 10px;">
			<table class="table table-bordered table-advance table-hover">
				<thead>
					<tr>
						<th>货站</th>
						<th>泊位号</th>
						<th>车牌号</th>
						<th>司机姓名</th>
						<th>司机手机号</th>
						<th>代理公司</th>
						<th>业务类型</th>
						<th>进场时间</th>
						<th>状态</th>
					</tr>
				</thead>
				<tbody>
					#for(data : dataList)
					<tr>
						<td>#(data.station.name??)</td>
						<td>#(data.portNo??"未分配")</td>
						<td>#(data.carNo??)</td>
						<td>#(data.driverName??)</td>
						<td>#(data.phone??)</td>
						<td><a href="#(contextPath)/agent/details?name=#(data.agentName)">#(data.agentName??)</a> </td>
						<td>#(data.isPickup?'提货':'卸货')</td>
						<td>#date(data.enterTime??,'yyyy-MM-dd HH:mm:ss')</td>
						<th><span style="color: blue;font: bold;font-size: 1.1em;">排队中</span> </th>
					</tr>
					#end
				</tbody>
			</table>

			<!-- #@page(contextPath+'/port/arrivalList',curPage,totalPage,totalSize,searchKey,0,'') -->
		</div>
	</div>
	
	<script type="text/javascript" src="#(contextPath)/js/portLeftList.js"></script>

	<script type="text/javascript">
		#if(flag)
			showTip('#(flag)');
		#end
	</script>
</body>
</html>