|
|
@ -18,6 +18,20 @@
|
|
|
|
<label>物料类型:</label>
|
|
|
|
<label>物料类型:</label>
|
|
|
|
<input type="text" name="materialType"/>
|
|
|
|
<input type="text" name="materialType"/>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<label>库位状态:</label>
|
|
|
|
|
|
|
|
<select name="locationStatus" th:with="type=${@dict.getType('location_status')}">
|
|
|
|
|
|
|
|
<option value="">所有</option>
|
|
|
|
|
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<label>库位区域:</label>
|
|
|
|
|
|
|
|
<select name="locationArea" th:with="type=${@dict.getType('location_info')}">
|
|
|
|
|
|
|
|
<option value="">所有</option>
|
|
|
|
|
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<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-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>
|
|
|
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
|
|
@ -51,6 +65,7 @@
|
|
|
|
var editFlag = [[${@permission.hasPermi('system:basematerialstore:edit')}]];
|
|
|
|
var editFlag = [[${@permission.hasPermi('system:basematerialstore:edit')}]];
|
|
|
|
var removeFlag = [[${@permission.hasPermi('system:basematerialstore:remove')}]];
|
|
|
|
var removeFlag = [[${@permission.hasPermi('system:basematerialstore:remove')}]];
|
|
|
|
var locationStatusDatas = [[${@dict.getType('location_status')}]];
|
|
|
|
var locationStatusDatas = [[${@dict.getType('location_status')}]];
|
|
|
|
|
|
|
|
var locationInfo = [[${@dict.getType('location_info')}]];
|
|
|
|
var prefix = ctx + "system/basematerialstore";
|
|
|
|
var prefix = ctx + "system/basematerialstore";
|
|
|
|
|
|
|
|
|
|
|
|
$(function() {
|
|
|
|
$(function() {
|
|
|
@ -90,7 +105,10 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: 'locationArea',
|
|
|
|
field: 'locationArea',
|
|
|
|
title: '库位区域'
|
|
|
|
title: '库位区域',
|
|
|
|
|
|
|
|
formatter: function(value, row, index) {
|
|
|
|
|
|
|
|
return $.table.selectDictLabel(locationInfo, value);
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: 'recordTime',
|
|
|
|
field: 'recordTime',
|
|
|
|