Browse Source

[fix]仓库管理

仓库入库单前端列表页面,表头采用统一样式调整,操作栏按照统一样式调整
dev
liuxiaoxu 17 hours ago
parent
commit
dc37e15a53
  1. 12
      ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOrder.html

12
ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOrder.html

@ -60,7 +60,7 @@
</div> </div>
<div class="btn-group-sm" id="toolbar" role="group"> <div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="warehouse:storageOrder:export"> <a class="btn btn-success" onclick="$.table.exportExcel()" shiro:hasPermission="warehouse:storageOrder:export">
<i class="fa fa-download"></i> 导出 <i class="fa fa-download"></i> 导出
</a> </a>
</div> </div>
@ -111,13 +111,15 @@
createUrl: prefix + "/add", createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}", updateUrl: prefix + "/edit/{id}",
exportUrl: prefix + "/export", exportUrl: prefix + "/export",
fixedColumns:true,
fixedRightNumber:1,
modalName: "仓库入库单", modalName: "仓库入库单",
detailView: true, detailView: true,
fixedColumns: true, // 启用冻结列
fixedRightNumber: 1, // 冻结右列个数
sortable:true,
onExpandRow : function(index, row, $detail) { onExpandRow : function(index, row, $detail) {
initChildTable(index, row, $detail); initChildTable(index, row, $detail);
}, },
columns: [{ columns: [{
checkbox: true checkbox: true
}, },
@ -238,6 +240,7 @@
{ {
title: '录入时间', title: '录入时间',
field: 'createTime', field: 'createTime',
sortable:true
}, },
{ {
title: '更新人', title: '更新人',
@ -342,7 +345,8 @@
actions.push('<a class="btn btn-success btn-xs ' + storageRefundsExchangesDetailFlag + '" href="javascript:void(0)" onclick="storageRefundsExchangesDetail(\'' + row.warehouseStorageId + '\')"><i class="fa fa-edit"></i>详情</a> '); actions.push('<a class="btn btn-success btn-xs ' + storageRefundsExchangesDetailFlag + '" href="javascript:void(0)" onclick="storageRefundsExchangesDetail(\'' + row.warehouseStorageId + '\')"><i class="fa fa-edit"></i>详情</a> ');
} }
return actions.join(''); var actionLinks = actions.join('');
return $.table.dropdownToggle(actionLinks);
} }
}] }]
}; };

Loading…
Cancel
Save