checkList.html 2.2 KB
<!DOCTYPE html>
<html lang="zh">
#@header()
<body>
	<div>
		<ol class="breadcrumb">
			<li>
				<a>数据核对</a>
			</li>
		</ol>

		<div style="margin-left: 10px;">
			<table>
				<tr>
					<td><input id="searchInput" class="form-control" type="text" placeholder="货代/车牌号/司机/手机号"
							value="#(searchKey)" style="margin-left: 1px; width: 300px;" /></td>
					<td><button class="btn btn-success" onclick="onSearchAction()" style="margin-left: 5px;">搜索</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>
						#if(role==1)
							<th>货站</th>
						#end
						<th>业务类型</th>
						<th>进场时间</th>
						<th>离场时间</th>
						<th>核碰情况</th>
					</tr>
				</thead>
				<tbody>
					#for(data : dataList)
					<tr>
						<td>#(data.carNo??)</td>
						<td>#(data.portNo??"未分配")</td>
						<td>#(data.driverName??)</td>
						<td>#(data.phone??)</td>
						<td><a href="#(contextPath)/agent/details?name=#(data.agentName)">#(data.agentName??)</a> </td>
						#if(role==1)
							<td>#(data.station.name??)</td>
						#end
						<td>#(data.isPickup?'提货':'卸货')</td>
						<td>#date(data.enterTime??,'yyyy-MM-dd HH:mm:ss')</td>
						<td>#date(data.leaveTime??,'yyyy-MM-dd HH:mm:ss')</td>
						<!-- <td>#(data.checkResult??'正常')</td> -->
						<td>
							#if(data.checkResult=='正常')
								<span style="color: #1cb93b; font: bold;font-size: 1.1em;">#(data.checkResult)</span>
							#elseif(data.checkResult=='待进场')
								<span style="color: blue;font: bold;font-size: 1.1em;">#(data.checkResult)</span>
							#else
								<span style="color: red;font: bold;font-size: 1.1em;">#(data.checkResult)</span>
							#end
						</td>
					</tr>
					#end
				</tbody>
			</table>

			#@page(contextPath+'/car/checkList',curPage,totalPage,totalSize,searchKey,0,'')
		</div>
	</div>

	<script type="text/javascript" src="#(contextPath)/js/checkList.js"></script>

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