unitequeryList.jsp
5.3 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>unitequery管理</title>
<meta name="decorator" content="default"/>
<script type="text/javascript">
$(document).ready(function() {
});
function page(n,s){
$("#pageNo").val(n);
$("#pageSize").val(s);
$("#searchForm").submit();
return false;
}
function change(){
var st_select = $("#station").val();
$.ajax({
type:"post",
url:"${ctx}/land/landBusinesstypeList/option",
data:{st_select,st_select},
dataType:"json",
success:function(data){
$("#aisle").val("");
$("#aisle").empty();
for(var i=0;i<data.list.length;i++){
var option = document.createElement("option");
$(option).val(data.list[i].channel);
$(option).text(data.list[i].name);
$("#aisle").append(option);
}
},
error:function(data){
$(".error_div").css("display","block");
$("#error_p").html(data);
}
})
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="${ctx}/land/unitequery/">联查列表</a></li>
<shiro:hasPermission name="land:unitequery:edit"><li><a href="${ctx}/land/unitequery/form">unitequery添加</a></li></shiro:hasPermission>
</ul>
<form:form id="searchForm" modelAttribute="unitequery" action="${ctx}/land/unitequery/" method="post" class="breadcrumb form-search">
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
<ul class="ul-form">
<li>
<label>车牌号:</label>
<form:input path="vename" htmlEscape="false" maxlength="32" class="input-medium"/>
<label>主单号:</label>
<form:input path="mainifist" htmlEscape="false" maxlength="32" class="input-medium"/>
<label>货站:</label>
<form:select path="endstation" class="input-medium" id="station" onchange="change()">
<form:option value="" label="--请选择--" />
<form:options items="${yardList}" itemLabel="name" itemValue="stationid" htmlEscape="false" />
</form:select>
<label>卡口:</label>
<form:select path="aisle" class="input-medium" id="aisle">
<form:option value="" label="--请选择--" />
</form:select>
<label>仓库:</label>
<form:select path="supName" class="input-medium" id="wharf">
<form:option value="" label="--请选择--" />
</form:select>
<label>业务类型:</label>
<form:select path="businesstype" class="input-medium" id="ieType">
<form:option value="" label="--请选择--" />
<form:option value="进口提货" label="进口提货" />
<form:option value="出口送货" label="出口送货" />
<form:option value="调拨业务" label="进口流转" />
<form:option value="分拨业务" label="出口流转" />
</form:select>
</li>
<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
<li class="clearfix"></li>
</ul>
</form:form>
<sys:message content="${message}"/>
<table id="contentTable" class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>车牌号</th>
<th>车自重</th>
<th>代理公司</th>
<th>目的货站</th>
<th>卡口</th>
<th>业务类型</th>
<th>进出场站</th>
<th>库位信息</th>
<th>主单号</th>
<!-- <th>航班号</th>
<th>航班日期</th> -->
<th>货物件数</th>
<th>货物重量</th>
<th>货物描述</th>
<th>进出库最后更新时间</th>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="unitequery">
<tr>
<td>${unitequery.vename }</td>
<td>${unitequery.selfWt }</td>
<td>${unitequery.agentname }</td>
<td>
<c:if test='${unitequery.endstation =="4604000000"}'>西货站</c:if>
<c:if test='${unitequery.endstation =="4604499001"}'>三号货站</c:if>
<c:if test='${unitequery.endstation =="4604511001"}'>快邮货站</c:if>
</td>
<td>
<c:if test="${unitequery.aisle =='4604333311'}">1号卡口-进</c:if>
<c:if test="${unitequery.aisle =='4604111111'}">1号卡口-进</c:if>
<c:if test="${unitequery.aisle =='4604444411'}">1号卡口-进</c:if>
<c:if test="${unitequery.aisle =='4604333312'}">1号卡口-出</c:if>
<c:if test="${unitequery.aisle =='4604444412'}">1号卡口-出</c:if>
<c:if test="${unitequery.aisle =='4604110112'}">1号卡口-出</c:if>
<c:if test="${unitequery.aisle =='4604333321'}">暂不启用</c:if>
<c:if test="${unitequery.aisle =='4604333322'}">暂不启用</c:if>
</td>
<td>${unitequery.businesstype }</td>
<td>
<c:if test="${unitequery.turnoverflag=='I' }">进站</c:if>
<c:if test="${unitequery.turnoverflag=='E' }">出站</c:if>
</td>
<td>${unitequery.supName }</td>
<td>${unitequery.mainifist }</td>
<%-- <td>${unitequery.voyageNo }</td>
<td>
<fmt:formatDate value="${unitequery.ieDate }" pattern="yyyy-MM-dd"/>
</td> --%>
<td>${unitequery.cnt }</td>
<td>${unitequery.wt }</td>
<td>${unitequery.goodName }</td>
<td>
<fmt:formatDate value="${unitequery.updateTime }" pattern="yyyy-MM-dd HH:mm:ss"/>
</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>