王佳豪
2021-03-13 7786552f47c9fbc3d233321e5484ef33da116e6a
1.0.3
pda关联组托-隐藏物料名称,改为显示生成单号
1个文件已修改
5 ■■■■■ 已修改文件
src/main/webapp/views/pda/combPro.html 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pda/combPro.html
@@ -135,7 +135,8 @@
            cols: [[
                {fixed: 'left', align: 'center', field: 'count', title: '数量', event: 'modify', style:'cursor: pointer;color: blue', width:50},
                {field: 'matNo', align: 'center', title: '物料编码', event: 'warehouse', style: 'cursor: pointer;color: blue'},
                {field: 'matName', align: 'center', title: '物料名称'}
                {field: 'warehouse', align: 'center', title: '生成单号'}
//                {field: 'matName', align: 'center', title: '物料名称'}
            ]],
            done: function (res, curr, count) {
            }
@@ -198,7 +199,7 @@
        for (var i=0;i<data.length;i++) {
            var toPush = true;
            for (var j=0;j<matData.length;j++){
                if (data[i].matNo === matData[j].matNo) {
                if (data[i].matNo === matData[j].matNo && data[i].warehouse === matData[j].warehouse) {
                    matData[j].count = Number(matData[j].count) + Number(data[i].count);
                    toPush  = false;
                }