idleLocation.html
2.47 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
<!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="gray-bg">
<div class="container-div">
<div class="col-sm-12 select-info">
<form id="formId">
<div class="select-list">
<ul>
<li>
<label>巷道:</label>
<input type="text" name="roadway"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i
class="fa fa-search"></i> 搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i
class="fa fa-refresh"></i> 重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="col-sm-12 select-info table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var prefix = ctx + "config/location"
$(function () {
var options = {
url: prefix + "/getIdleLocation",
modalName: "空闲库位数量",
columns: [{
checkbox: true
},
{
field: 'id',
title: '参数主键',
visible: false
},
{
field: 'roadway',
title: '巷道'
},
// {
// field: 'irow',
// title: '第几行'
// },
{
field: 'allCount',
// title: '空库库位(去除每个巷道预留的8个高库位和8个低库位)'
title: '剩余空库库位'
},
{
field: 'lowCount',
title: '低库位数量'
},
{
field: 'middleCount',
title: '中库位数量'
},
{
field: 'highCount',
title: '高库位数量'
},
]
};
$.table.init(options);
});
</script>
</body>
</html>