From 80bf7c48da931cf7691a7bc6b500195f22951d8d Mon Sep 17 00:00:00 2001 From: zhangchao <zc857179121@qq.com> Date: 星期三, 24 七月 2024 10:38:46 +0800 Subject: [PATCH] 页面调整 --- src/main/webapp/static/js/locDetlStatis/locDetlStatis.js | 30 ++++++++++++++++++------------ 1 files changed, 18 insertions(+), 12 deletions(-) diff --git a/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js b/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js index fd1da33..66b3ffe 100644 --- a/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js +++ b/src/main/webapp/static/js/locDetlStatis/locDetlStatis.js @@ -1,15 +1,15 @@ var pageCurr; -function getCol() { - var cols = [ - {field: 'anfme', align: 'center',title: '搴撳瓨鏁伴噺', style: 'font-weight: bold'} - ]; - arrRemove(detlCols, "field", "anfme") - arrRemove(detlCols, "field", "zpallet") - cols.push.apply(cols, detlCols); - // cols.push({field: 'anfme', align: 'center',title: '鏁伴噺', style: 'font-weight: bold'} - // ) - return cols; -} +// function getCol() { +// var cols = [ +// {field: 'anfme', align: 'center',title: '搴撳瓨鏁伴噺', style: 'font-weight: bold'} +// ]; +// arrRemove(detlCols, "field", "anfme") +// arrRemove(detlCols, "field", "zpallet") +// cols.push.apply(cols, detlCols); +// // cols.push({field: 'anfme', align: 'center',title: '鏁伴噺', style: 'font-weight: bold'} +// // ) +// return cols; +// } layui.use(['table','laydate', 'form'], function(){ var table = layui.table; @@ -29,7 +29,13 @@ even: true, toolbar: '#toolbar', cellMinWidth: 50, - cols: [getCol()], + cols: [[ + {field: 'lkQty', title:'绔嬪簱鏁伴噺', align: 'center', width:150}, + {field: 'erpQty', title:'ERP鏁伴噺', align: 'center', width:150}, + {field: 'matNo', title:'浜у搧缂栫爜', align: 'center'}, + {field: 'specs', title:'浜у搧瑙勬牸', align: 'center'}, + {field: 'matName', title:'浜у搧鍚嶇О', align: 'center'} + ]], request: { pageName: 'curr', pageSize: 'limit' -- Gitblit v1.9.1