portArrivalList.html
2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!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/portArrivalList.js"></script>
<script type="text/javascript">
#if(flag)
showTip('#(flag)');
#end
</script>
</body>
</html>