inOutList.jsp
6.5 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
<%@ page import="com.myproject.webapp.controller.webService.DataCache" %><%--
Created by IntelliJ IDEA.
User: kangmor
Date: 2015/12/1
Time: 22:41
--%>
<%@ include file="/common/taglibs.jsp" %>
<%@ page language="java" pageEncoding="UTF-8" %>
<!-- BEGIN PAGE HEADER-->
<h3 class="page-title">
<fmt:message key="menu.bigdata.inOutList"/>
</h3>
<%--<%@ include file="/common/fileUpload.jsp" %>--%>
<!-- BEGIN PAGE CONTENT-->
<div class="row">
<div class="col-md-12">
<!-- BEGIN EXAMPLE TABLE PORTLET-->
<div class="portlet box blue">
<div class="portlet-title">
<div class="caption">
</div>
<div class="actions">
</div>
</div>
<div class="portlet-body">
<form:form commandName="searchCriteria" class="form-horizontal form-bordered" id="searchCriteria"
action="inOutList.html">
<div class="form-group">
<label class="control-label col-md-1"><fmt:message key="inOutList.operate"/></label>
<div class="col-md-2">
<select name="opType" class="form-control">
<option value="">--<fmt:message key="select.all"/>--</option>
<option value="1" <c:if test="${opType==1}"> selected="selected" </c:if> > <fmt:message key="inOutList.in"/></option>
<option value="2"><fmt:message key="inOutList.out"/></option>
</select>
</div>
<label class="control-label col-md-2"><fmt:message key="inOutList.type"/></label>
<div class="col-md-2">
<select name="type" class="form-control">
<option value="-1">--<fmt:message key="select.all"/>--</option>
<option value="0"><fmt:message key="inOutList.type.component"/></option>
<option value="1"><fmt:message key="inOutList.type.solder"/></option>
<option value="2"><fmt:message key="inOutList.type.pcb"/></option>
<option value="3"><fmt:message key="inOutList.type.others"/></option>
</select>
</div>
<label class="control-label col-md-1"><fmt:message key="inOutList.time"/></label>
<div class="col-md-3">
<div class="input-group input-middle date-picker input-daterange" data-date="2017-05-10" data-date-format="${datePatten}">
<input type="text" class="form-control ds" name="startDay" value="${startDay}">
<span class="input-group-addon">
to </span>
<input type="text" class="form-control ds" name="endDay" value="${endDay}">
</div>
<!-- /input-group -->
<span class="help-block"> </span>
</div>
<div class="col-md-2">
<button class="btn purple" type="submit"><i class="fa fa-search"></i><fmt:message
key="button.search"/></button>
</div>
</div>
</form:form>
<div class="table-scrollable">
<display:table name="searchCriteria.pageList" cellspacing="0" cellpadding="0" requestURI=""
sort="external"
defaultsort="1" class="table table-striped table-bordered table-hover" export="true"
id="barcode">
<display:setProperty name="export.csv.filename" value="outList.csv" />
<display:column sortProperty="barcode" sortable="true" titleKey="barcode.barcode">${barcode.barcode}
</display:column>
<display:column property="partNumber" sortProperty="partNumber" sortable="true" titleKey="barcode.partNumber"/>
<display:column sortProperty="inOpor" sortable="true" titleKey="inOutList.inOper">${barcode.inOpor}
</display:column>
<display:column titleKey="inOutList.inDate" sortable="true" sortProperty="putInDate">
<fmt:formatDate value="${barcode.putInDate}" pattern="yyyy-MM-dd HH:mm"/>
</display:column>
<display:column titleKey="inOutList.outDate" sortable="true" sortProperty="checkOutDate">
<fmt:formatDate value="${barcode.checkOutDate}" pattern="yyyy-MM-dd HH:mm"/>
</display:column>
<display:column sortProperty="outOpor" sortable="true" titleKey="inOutList.outOper">${barcode.outOpor}
</display:column>
<display:setProperty name="paging.banner.item_name"><fmt:message
key="barcode.item.name"/></display:setProperty>
<display:setProperty name="paging.banner.items_name"><fmt:message
key="barcode.item.name"/></display:setProperty>
</display:table>
</div>
</div>
</div>
<!-- END EXAMPLE TABLE PORTLET-->
</div>
</div>
<!-- END PAGE CONTENT-->
<c:set var="scripts" scope="request">
<script type="text/javascript">
$("select[name='opType']").attr('value','${opType}');
$("select[name='type']").attr('value','${type}');
$.fn.datepicker.dates['zh-CN'] = {
days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
monthsShort: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
today: "今天",
suffix: [],
meridiem: ["上午", "下午"]
};
$('.date-picker').datepicker({
rtl: Metronic.isRTL(),
orientation: "left",
autoclose: true,
language:'zh-CN'
});
</script>
</c:set>