pickRecord.jsp
11.9 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html>
<head>
<jsp:include page="${ctx }/view/common/meta.jsp" />
<link href="${ctx }/resource/css/detail.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/resource/css/home.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/resource/css/member.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/resource/css/ration/returnRecord.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/resource/css/tab-slide.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/resource/js/utils/page/page.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${ctx}/resource/js/utils/page/query.js"></script>
<script type="text/javascript" src="${ctx}/resource/js/utils/page/page.js"></script>
<script type="text/javascript" src="${ctx}/resource/js/user/pick/pick.js"></script>
<script type="text/javascript" src="${ctx}/resource/js/user/pick/pickRecord.js?r=<%=Math.random()%>"></script>
<script type="text/javascript">
$(function() {
$('#pageToolbar').Paging({
pagesize : '${params.rows }',
count : '${params._total}',
toolbar : true,
current : Number('${params.page}'),
callback : function(page, size, count) {
window.location.href = '${ctx }/user/pick/record?page=' + page + '&rows=' + size;
}
});
});
var errorMessage = '${resultInfo.message }';
function ensure(pickNo){
alert(pickNo)
var url = "${ctx }/user/pick/cancel?_token_pick_cancel=${_token_pick_cancel}&pickNo=" + pickNo;
$("#sureCancel").attr("href", url);
easyDialog.open({
container : "ensure_popup"
});
};
</script>
<style>
.records tr {
margin-top: 10px;
}
.records a {
color: blue;
}
.picker-way{
text-align: left;
padding: 0 20px;
}
</style>
</head>
<body>
<jsp:include page="${ctx }/view/common/header.jsp" />
<div class="bigbox">
<jsp:include page="${ctx }/view/common/menu.jsp" />
<div class="etlist rightbox0" style="margin-top: 28px">
<h2 style="text-align: left;">出库记录</h2>
<div class="crossline"></div>
<div class="clear"></div>
<%-- <div class="tab-slide bottom-border">
<a class="attention" href="${ctx }/user/return/queryAll">退货记录</a>
<a class="tab-seletced" href="${ctx }/user/pick/record">提货记录</a>
</div> --%>
<ul class="tab">
<li ><a href="${ctx }/user/return/queryAll">退货记录</a> </li>
<li class="selected"><a href="${ctx }/user/pick/record">提货记录</a></li>
</ul>
<div class="pickRecord">
<p>如需要查询2017年4月21日之前的提货记录,请前往历史提货记录查询页面。</p>
<a href="${ctx }/user/pick/history" >立即查看</a>
</div>
<table border="0" style="border-bottom: 1px solid #ccc; width: 100%;" class=" etlistbg entrusttable" cellpadding="2" cellspacing="0">
<tbody>
<c:if test="${empty applys }">
<tr>
<td style="background:#f2f2f2;" colspan="10"><img style="width:65%" src="${ctx }/resource/images/noData.png"></img></td>
</tr>
</c:if>
<c:forEach items="${applys }" var="pick">
<tr class="flex_tr " style="background: #f2f2f2; height: 40px; font-weight: bold;">
<td width="25%">申请时间:${pick.createDate }</td>
<td width="25%">提货单号:${pick.pickNo }</td>
<td width="25%" class="picker-way">
提货方式:
<c:if test="${pick.pickType == '0' }">本人自提</c:if>
<c:if test="${pick.pickType == '1' }">委托自提</c:if>
<c:if test="${pick.pickType == '2' }">顺丰到付</c:if>
<c:if test="${pick.pickType == '3' }">转赵涌在线</c:if>
<c:if test="${pick.pickType == '4' }">网点自提</c:if>
<c:if test="${pick.pickType == '5' }">网点委托</c:if>
<c:if test="${pick.pickType == '6' }">转亚交所AAE</c:if>
</td>
<td width="30%" class="picker-way">
包装方式:${pick.packageType == null ? "无" : pick.packageType }
</td>
<td style="text-align: center;"><span class="flex_a png flex_plus"></span></td>
</tr>
<tr >
<td colspan="6">
<table border="0" cellpadding="0" cellspacing="0" class="entrust records">
<thead>
<tr style="height: 30px;">
<td width="10%">藏品代码</td>
<td width="16%">藏品名称</td>
<td width="8%">提货数量</td>
<td width="8%">封装方式</td>
<!-- 本人自提 -->
<c:if test="${pick.pickType == 0 || pick.pickType == 1 || pick.pickType == 4 || pick.pickType == 5}">
<td width="8%">提货人</td>
<td width="10%">提货日期</td>
<td width="16%">提货地址</td>
</c:if>
<!-- 顺风到付 -->
<c:if test="${pick.pickType == 2 }">
<td width="8%">收货人</td>
<td width="10%">联系方式</td>
<td width="16%">收货地址</td>
</c:if>
<!--转赵涌在线 -->
<c:if test="${pick.pickType == 3 }">
<td width="34%" >赵涌在线账号</td>
</c:if>
<c:if test="${pick.pickType == 6 }">
<td width="34%" >转出目的地</td>
</c:if>
<td width="10%">提货状态</td>
</tr>
</thead>
<tbody>
<!-- 本人自提 -->
<c:if test="${pick.pickType == 0 || pick.pickType == 1 || pick.pickType == 4 || pick.pickType == 5 }">
<c:forEach items="${pick.applyList }" var="apply" varStatus="stas">
<c:if test="${stas.index == 0 }">
<tr height="30">
<td>${apply.otcCode }</td>
<td>${apply.otcName }</td>
<td>${apply.occurAmount }</td>
<td>${apply.packType == null ? "无" : apply.packType }</td>
<td rowspan="${fn:length(pick.applyList) }"> ${apply.pickingName }</td>
<td rowspan="${fn:length(pick.applyList) }"> ${apply.pickingDate }</td>
<td style="text-align:left;padding:0 5px;" rowspan="${fn:length(pick.applyList) }">${apply.pickingAddress }</td>
<td rowspan="${fn:length(pick.applyList) }">
<p> ${apply.pickStatusName }</p>
<c:if test="${apply.pickStatus == '0' }">
<a onclick="ensure('${pick.pickNo}')">取消提货</a>
</c:if>
</td>
</tr>
</c:if>
<c:if test="${stas.index > 0 }">
<tr>
<td>${apply.otcCode }</td>
<td>${apply.otcName }</td>
<td>${apply.occurAmount }</td>
<td>${apply.packType == null ? "无" : apply.packType }</td>
</tr>
</c:if>
</c:forEach>
</c:if>
<!-- 赵涌在线 -->
<c:if test="${pick.pickType == 3 }">
<c:forEach items="${pick.applyList }" var="apply" varStatus="stas">
<c:if test="${stas.index == 0 }">
<tr height="30">
<td>${apply.otcCode }</td>
<td>${apply.otcName }</td>
<td>${apply.occurAmount }</td>
<td>${apply.packType == null ? "无" : apply.packType }</td>
<td rowspan="${fn:length(pick.applyList) }">${pick.zhaoonlineId }</td>
<td rowspan="${fn:length(pick.applyList) }">
<p>${apply.pickStatusName }</p>
<c:if test="${apply.pickStatus == '0' }">
<a onclick="ensure(${pick.pickNo})">取消提货</a>
</c:if>
</td>
</tr>
</c:if>
<c:if test="${stas.index > 0 }">
<tr>
<td>${apply.otcCode }</td>
<td>${apply.otcName }</td>
<td>${apply.occurAmount }</td>
<td>${apply.packType == null ? "无" : apply.packType }</td>
</tr>
</c:if>
</c:forEach>
</c:if>
<!-- 转香港90兆-->
<c:if test="${pick.pickType == 6 }">
<c:forEach items="${pick.applyList }" var="apply" varStatus="stas">
<c:if test="${stas.index == 0 }">
<tr height="30">
<td>${apply.otcCode }</td>
<td>${apply.otcName }</td>
<td>${apply.occurAmount }</td>
<td>${apply.packType == null ? "无" : apply.packType }</td>
<td rowspan="${fn:length(pick.applyList) }">亚交所</td>
<td rowspan="${fn:length(pick.applyList) }">
<p>${apply.pickStatusName }</p>
<%-- <c:if test="${apply.pickStatus == '0' }">
<a onclick="ensure(${pick.pickNo})">取消提货</a>
</c:if> --%>
</td>
</tr>
</c:if>
<c:if test="${stas.index > 0 }">
<tr>
<td>${apply.otcCode }</td>
<td>${apply.otcName }</td>
<td>${apply.occurAmount }</td>
<td>${apply.packType == null ? "无" : apply.packType }</td>
</tr>
</c:if>
</c:forEach>
</c:if>
<!-- 顺丰到付 -->
<c:if test="${pick.pickType == 2 }">
<c:forEach items="${pick.applyList }" var="apply" varStatus="stas">
<c:if test="${stas.index == 0 }">
<tr height="30">
<td>${apply.otcCode }</td>
<td>${apply.otcName }</td>
<td>${apply.occurAmount }</td>
<td>${apply.packType == null ? "无" : apply.packType }</td>
<td rowspan="${fn:length(pick.applyList) }">${apply.pickingName }</td>
<td rowspan="${fn:length(pick.applyList) }">${apply.phoneCode }</td>
<td style="text-align:left;padding:0 5px;" rowspan="${fn:length(pick.applyList) } ">${apply.expressAddress }</td>
<td rowspan="${fn:length(pick.applyList) }">
<p>${apply.pickStatusName }</p>
<c:if test="${apply.pickStatus == '0' }">
<a onclick="ensure(${pick.pickNo})">取消提货</a>
</c:if>
<c:if test="${apply.pickStatus == '3' }">
<div style="position: relative;">
<a class="showExpressId">查看快递单号</a>
<p class="express-id">
<small style="margin-top: -10px;">顺丰到付</small>
<small>${pick.expressNo }</small>
</p>
</div>
</c:if>
</td>
</tr>
</c:if>
<c:if test="${stas.index > 0 }">
<tr>
<td>${apply.otcCode }</td>
<td>${apply.otcName }</td>
<td>${apply.occurAmount }</td>
<td>${apply.packType == null ? "无" : apply.packType }</td>
</tr>
</c:if>
</c:forEach>
</c:if>
</tbody>
</table>
</td>
</tr>
</c:forEach>
</tbody>
</table>
<c:if test="${!empty applys }">
<div id="pageToolbar"></div>
</c:if>
</div>
<div class="clear"></div>
</div>
<jsp:include page="${ctx }/view/common/bottom.jsp" />
<!-- 提示弹窗 -->
<div class="easyDialog_wrapper ND " id="ensure_popup" >
<div class="easyDialog_content" style="border-top:3px solid #d81e31;">
<div class="easyDialog_text">
<p style="font-weight: 600;padding: 30px 0 0; font-size: 16px;" id="ensure_popup_text"></p>
<p style="font-weight: 600;padding: 30px 0 0; font-size: 16px;">你确定要取消提货么?</p>
</div>
<div class="easyDialog_footer two-btn">
<button class="btn_normal" onclick="easyDialog.close()">取消</button>
<a class="linkBtn" id="sureCancel">确定</a>
</div>
</div>
</div>
</body>
</html>