自动化立体仓库 - WMS系统
#
1
5 天以前 c039b42920df96629bc570883cd498e58276e643
src/main/webapp/static/js/basArmMastExp/basArmMastExp.js
@@ -12,7 +12,7 @@
    tableIns = table.render({
        elem: '#basArmMastExp',
        headers: {token: localStorage.getItem('token')},
        url: baseUrl+'/basArmMast/list/auth',
        url: baseUrl+'/basArmMast/listArm/auth',
        page: true,
        limit: 15,
        limits: [15, 30, 50, 100, 200, 500],
@@ -26,7 +26,7 @@
            {field: 'matnr', align: 'center', title: '商品编号'},
            {field: 'po', align: 'center', title: 'PO'},
            {field: 'upc', align: 'center', title: 'UPC'},
            {field: 'sortingLine', align: 'center', title: '起点'},
            {field: 'staNo', align: 'center', title: '起点'},
            {field: 'status', align: 'center', title: '作业状态', templet: function(d){
                    return '2.单码完成等待托盘完成';  // 因为现在只显示状态2,固定显示
                }},
@@ -49,16 +49,16 @@
                };
            }
            var records = res.data.records || [];
            var records = res.data || [];
            var groupMap = new Map();  // 用来汇总状态为2的数据
            records.forEach(function(item) {
                // 只处理状态为2的记录,其他状态直接忽略(隐藏)
                if (String(item.status) === '2') {
                    // 生成唯一标识(5个字段组合)
                    var key = [
                        item.armNo || '',
                        item.sortingLine || '',
                        item.staNo || '',
                        item.barcode || '',
                        item.matnr || '',
                        item.orderNo || ''
@@ -75,7 +75,7 @@
                            matnr: item.matnr,
                            po: item.po || '',
                            upc: item.upc || '',
                            sortingLine: item.sortingLine,
                            staNo: item.staNo,
                            barcode: item.barcode,
                            supplier: item.supplier || '',
                            status: '2',           // 固定显示为2