自动化立体仓库 - WMS系统
zhangchao
2024-07-24 80bf7c48da931cf7691a7bc6b500195f22951d8d
页面调整
1个文件已修改
30 ■■■■■ 已修改文件
src/main/webapp/static/js/locDetlStatis/locDetlStatis.js 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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'