report.html
2.31 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
<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg" style="padding:5px 0;" id="ddd">
<div class="container" style="color: #333;">
<div class="row">
<table id="reportTable" width="100%" border="1" cellspacing="0" cellpadding="0" class="dy-report">
<thead style="display:table-header-group;">
<tr>
<td colspan="7">
<h2 style="width:20%;text-align:center;float:left;padding-top:10px;">任务</h2>
</td>
</tr>
<tr style="padding:15px 0 5px 0;border-bottom:1px solid #606060">
<td colspan="7">
<div style="width:50%; float:right; text-align:right">
<span>明细条数:<span>1</span></span>
<span style="padding-left:20px;">明细总数:<span>1</span></span>
<span class="noprint" style="padding-left:20px;"><button type="button" onClick="a()"><i class="fa fa-print"></i> 打印</button></span>
</div>
</td>
</tr>
<tr>
<th width="10%">库位</th>
<th width="9%">容器</th>
<th width="18%">物料编码</th>
<th width="22%">物料名称</th>
<th width="9%">数量</th>
<th width="21%">条码</th>
</tr>
</thead>
<tbody>
<tr th:each="row, rowStat : ${task}">
<td th:if="${row.taskType} eq 100" th:text="${row.toLocation}"></td>
<td th:if="${row.taskType} eq 200" th:text="${row.toLocation}"></td>
<td th:if="${row.taskType} eq 300" th:text="${row.fromLocation}"></td>
<td th:if="${row.taskType} eq 400" th:text="${row.fromLocation}"></td>
<td th:text="${row.containerCode}"></td>
<td th:text="${row.materialCode}"></td>
<td th:text="${row.materialName}"></td>
<td th:text="${row.qty}"></td>
<td th:text="${row.id}"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div th:include="include :: footer"></div>
</html>