自动化立体仓库 - WMS系统
1
zhangc
2025-03-24 002f10f7d38dc6791d26a69d061e6b17f9980fd0
src/main/webapp/static/js/report/reportStockUse.js
@@ -18,13 +18,13 @@
        toolbar: '#toolbar',
        cellMinWidth: 50,
        cols: [[
            {type: 'checkbox', fixed: 'left'}
            ,{field: 'row1', title: '钢架号', sort: true, align: 'center'}
            // {type: 'checkbox', fixed: 'left'}
            {field: 'row1', title: '钢架号', sort: true, align: 'center'}
            ,{field: 'total_qty', align: 'center',title: '库位总数'}
            ,{field: 'full_qty', align: 'center',title: '在库数量'}
            ,{field: 'null_qty', align: 'center',title: '空库位数量'}
            ,{field: 'forbid_qty', align: 'center',title: '禁用库位数量'}
            ,{field: 'empty_qty', align: 'center',title: '空容器数量'}
            ,{field: 'empty_qty', align: 'center',title: '空货架数量'}
            ,{field: 'full_rate', align: 'center',title: '在库率(%)'}
            ,{field: 'occ_rate', align: 'center',title: '使用率(%)'}
        ]],
@@ -81,6 +81,7 @@
        switch(obj.event) {
            case 'exportData':
                layer.confirm('确定导出Excel吗', {shadeClose: true}, function(){
                    layer.load(2, {time: 600*1000});
                    var titles=[];
                    var fields=[];
                    obj.config.cols[0].map(function (col) {
@@ -115,6 +116,12 @@
        }
    });
    // 搜索栏搜索事件
    form.on('submit(search)', function (data) {
        pageCurr = 1;
        tableReload(false);
    });
});
// 关闭动作