@ -1,5 +1,5 @@
<!DOCTYPE html>
< html lang = "zh" xmlns: th= "http://www.thymeleaf.org" xmlns: shiro= "http://www.pollix.at/thymeleaf/shiro ">
< html lang = "zh" xmlns: shiro= "http://www.pollix.at/thymeleaf/shiro " xmlns:th = "http://www.thymeleaf.org ">
< head >
< th:block th:include = "include :: header('资产RFID更换记录列表')" / >
< / head >
@ -12,28 +12,33 @@
< ul >
< li >
< label > 资产ID: < / label >
< input type = "text" name = "basketId "/ >
< input name = "basketId" type = "text "/ >
< / li >
< li >
< label > 更换情况:< / label >
< select name = "changeType" th:with = "type=${@dict.getType('change_rfid_type')}" >
< option value = "" > 所有< / option >
< option th:each = "dict : ${type}" th:text = "${dict.dictLabel}" th:value = "${dict.dictValue}" > < / option >
< option th:each = "dict : ${type}" th:text = "${dict.dictLabel}"
th:value="${dict.dictValue}">< / option >
< / select >
< / li >
< li >
< label > 更换人:< / label >
< input type = "text" name = "createBy "/ >
< input name = "createBy" type = "text "/ >
< / li >
< li class = "select-time" >
< label > 更换时间:< / label >
< input type = "text" class = "time-input" id = "startTime" placeholder = "开始时间" name = "params[beginCreateTime]" / >
< input class = "time-input" id = "startTime" name = "params[beginCreateTime]" placeholder = "开始时间"
type="text"/>
< span > -< / span >
< input type = "text" class = "time-input" id = "endTime" placeholder = "结束时间" name = "params[endCreateTime]" / >
< input class = "time-input" id = "endTime" name = "params[endCreateTime]" placeholder = "结束时间"
type="text"/>
< / 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 >
< 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 >
@ -44,10 +49,12 @@
< a class = "btn btn-success" onclick = "$.operate.add()" shiro:hasPermission = "manager:change_rfid:add" >
< i class = "fa fa-plus" > < / i > 添加
< / a >
< a class = "btn btn-primary single disabled" onclick = "$.operate.edit()" shiro:hasPermission = "manager:change_rfid:edit" >
< a class = "btn btn-primary single disabled" onclick = "$.operate.edit()"
shiro:hasPermission="manager:change_rfid:edit">
< i class = "fa fa-edit" > < / i > 修改
< / a >
< a class = "btn btn-danger multiple disabled" onclick = "$.operate.removeAll()" shiro:hasPermission = "manager:change_rfid:remove" >
< a class = "btn btn-danger multiple disabled" onclick = "$.operate.removeAll()"
shiro:hasPermission="manager:change_rfid:remove">
< i class = "fa fa-remove" > < / i > 删除
< / a >
< a class = "btn btn-warning" onclick = "$.table.exportExcel()" shiro:hasPermission = "manager:change_rfid:export" >
@ -65,7 +72,7 @@
var removeFlag = [[${@permission.hasPermi('manager:change_rfid:remove')}]];
var changeTypeDatas = [[${@dict.getType('change_rfid_type')}]];
var prefix = ctx + "manager/change_rfid";
var basketTypeDatas = [[${@dict.getType('basket_type')}]];
$(function () {
var options = {
url: prefix + "/list",
@ -84,8 +91,31 @@
},
{
field: 'basketId',
title: '资产ID'
title: '资产ID', visible: false
},
{
field: 'baseBasketInfo.basketCode',
title: '资产编号'
},
{
field: 'baseBasketInfo.basketType',
title: '资产类型',
formatter: function (value, row, index) {
return $.table.selectDictLabel(basketTypeDatas, value);
}
},
{
field: 'baseBasketInfo.steelGrade',
title: '钢号'
},
{
field: 'baseBasketInfo.selfCode',
title: '自编号'
},
{
field: 'basketEpc',
title: '货筐RFID(旧)'