| | |
| | | |
| | | 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); |
| | | } |
| | |
| | | server: |
| | | port: 8080 |
| | | port: 8088 |
| | | servlet: |
| | | context-path: /@pom.build.finalName@ |
| | | compression: |
| | |
| | | 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 |
| | |
| | | ,{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} |
| | |
| | | ,{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} |
| | | ] |
| | | |
| | |
| | | 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'} |
| | | // ) |