| | |
| | | log.info("库位号:" + locNo + ",容器码:" + containerCode + ",不存在明细"); |
| | | } |
| | | if(agvLocDetls.size()>1){ |
| | | log.info("库位号:" + locNo + ",容器码:" + containerCode + ",存在1条以上记录"); |
| | | //log.info("库位号:" + locNo + ",容器码:" + containerCode + ",存在1条以上记录"); |
| | | } |
| | | } |
| | | } |
| | |
| | | Mat mat = matService.selectByMatnr(locDto.getMatnr()); |
| | | assert mat != null; |
| | | |
| | | if (locDto.getStock() < locDto.getAnfme()) { |
| | | //总库存小于作业数量,异常数据 |
| | | throw new CoolException("库存不足,请稍后重试"); |
| | | } |
| | | |
| | | if (!BaseController.isJSON(locDto.getOrderNo())) { |
| | | WrkDetl wrkDetl = new WrkDetl(); |
| | | wrkDetl.sync(mat); |
| | |
| | | // ,{field: 'locSts', align: 'center',title: ''} |
| | | // ,{field: 'sheetNo', align: 'center',title: ''} |
| | | //,{field: 'crnNo', align: 'center',title: '堆垛机号'} |
| | | ,{field: 'qrCodeValue', align: 'center',title: '二维码值', sort:true} |
| | | ,{field: 'barcode', align: 'center',title: '二维码值', sort:true} |
| | | ,{field: 'row1', align: 'center',title: '排', sort:true} |
| | | ,{field: 'bay1', align: 'center',title: '列', sort:true} |
| | | ,{field: 'lev1', align: 'center',title: '层', sort:true} |
| | |
| | | ,{field: 'locSts$', align: 'center',title: '库位状态', width: 180, style: 'color: #8E2323'} |
| | | // ,{field: 'whsType$', align: 'center',title: '库位类型'} |
| | | //,{field: 'crnNo', align: 'center',title: '堆垛机号'} |
| | | ,{field: 'qrCodeValue', align: 'center',title: '二维码值', sort:true} |
| | | ,{field: 'barcode', align: 'center',title: '二维码值', sort:true} |
| | | ,{field: 'row1', align: 'center',title: '排'} |
| | | ,{field: 'bay1', align: 'center',title: '列'} |
| | | ,{field: 'lev1', align: 'center',title: '层'} |
| | |
| | | <div class="layui-btn-container"> |
| | | <button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData" style="margin-top: 10px">导出</button> |
| | | </div> |
| | | <button style="display:none" id="compareToEss" > |
| | | <button style="" id="compareToEss" > |
| | | <i class="layui-icon layui-icon-upload"></i> 库存比对 |
| | | </button> |
| | | <input style="display:none" id="importExcel" type="file" onchange="upload(this)" > |