自动化立体仓库 - WMS系统
#
zjj
2024-05-20 803cad115e8fb96fe042b7070fa41dedec4b6361
#
5个文件已修改
12 ■■■■■ 已修改文件
src/main/java/com/zy/asrs/controller/LocDetlController.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/application.yml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/LocDetlMapper.xml 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/common.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/locDetlStatis/locDetlStatis.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/controller/LocDetlController.java
@@ -272,10 +272,13 @@
        Page<LocDetlAll> stockStatis = locDetlService.getStockStatisAll(toPage(curr, limit, param, LocDetlAll.class));
        for (LocDetlAll locDetlAll : stockStatis.getRecords()) {
            Double weight = locDetlAll.getWeight();
            Mat mat = matService.selectByMatnr(locDetlAll.getMatnr());
            if (mat != null) {
                locDetlAll.sync(mat);
            }
            locDetlAll.setWeight(weight);
        }
        return R.ok().add(stockStatis);
    }
src/main/resources/application.yml
@@ -1,5 +1,5 @@
server:
  port: 8080
  port: 8088
  servlet:
    context-path: /@pom.build.finalName@
  compression:
src/main/resources/mapper/LocDetlMapper.xml
@@ -580,6 +580,7 @@
        ROW_NUMBER() over (order by sum(a.anfme) desc) as row
        , a.matnr,a.batch
        , sum(a.anfme) as anfme
        ,sum (a.weight) as weight
        ,owner
        ,payment
        from asr_loc_detl_all a
src/main/webapp/static/js/common.js
@@ -258,7 +258,7 @@
    ,{field: 'manuDate', align: 'center',title: '生产日期', hide: true}
    ,{field: 'itemNum', align: 'center',title: '品项数', hide: true}
    ,{field: 'safeQty', align: 'center',title: '安全库存量', hide: true}
    ,{field: 'weight', align: 'center',title: '重量', hide: false}
    ,{field: 'weight', align: 'center',title: '重量(KG)', hide: false}
    ,{field: 'length', align: 'center',title: '单箱毛重', hide: true}
    ,{field: 'volume', align: 'center',title: '单箱体积', hide: true}
    ,{field: 'threeCode', align: 'center',title: '箱子尺寸', hide: true}
@@ -270,7 +270,7 @@
    ,{field: 'source$', align: 'center',title: '制购', hide: true}
    ,{field: 'check$', align: 'center',title: '要求检验', hide: true}
    ,{field: 'danger$', align: 'center',title: '危险品', hide: true}
    ,{field: 'owner$', align: 'center',title: '货主', hide: false}
    ,{field: 'owner$', align: 'center',title: '货主', hide: true}
    ,{field: 'payment$', align: 'center',title: '货物形态', hide: false}
]
src/main/webapp/static/js/locDetlStatis/locDetlStatis.js
@@ -6,7 +6,7 @@
    arrRemove(detlCols, "field", "anfme")
    arrRemove(detlCols, "field", "zpallet")
    arrRemove(detlCols, "field", "model")
    arrRemove(detlCols, "field", "weight")
    // arrRemove(detlCols, "field", "weight")
    cols.push.apply(cols, detlCols);
    // cols.push({field: 'anfme', align: 'center',title: '数量', style: 'font-weight: bold'}
    // )