| | |
| | | matParam.setWeight(nccJcQilibcBarcodeflowWms.getNastnum() == null ? 0.0D : nccJcQilibcBarcodeflowWms.getNastnum().doubleValue()); |
| | | matParam.setAnfme2(nccJcQilibcBarcodeflowWms.getNastnum() == null ? 0.0D : nccJcQilibcBarcodeflowWms.getNastnum().doubleValue()); |
| | | matParam.setTiaoma(nccJcQilibcBarcodeflowWms.getVbarcode()); |
| | | matParam.setCstateid(nccJcQilibcBarcodeflowWms.getCstateid()); |
| | | return R.ok().add(matParam); |
| | | |
| | | } |
| | |
| | | matParam.setAnfme(0.0D); |
| | | matParam.setAnfme2(0.0D); |
| | | matParam.setTiaoma(nccQilibcTmprintWms.getBarcode()); |
| | | matParam.setStandby1(nccQilibcTmprintWms.getCkbm()); |
| | | return R.ok().add(matParam); |
| | | } |
| | | |
| | |
| | | matParam.setAnfme(0.0D); |
| | | matParam.setAnfme2(0.0D); |
| | | matParam.setTiaoma(batch); |
| | | matParam.setCstateid(wrkDetlLog.getCstateid()); |
| | | |
| | | String[] split = wrkDetlLog.getOrderNo().split("-"); |
| | | map.put("orderNo", split[0]); |
| | | map.put("matData", matParam); |
| | | return R.ok().add(map); |
| | | } |
| | | |
| | | @RequestMapping("/comb/cancel") |
| | | @ManagerAuth(memo = "取消组托") |
| | | public R combCancel(@RequestBody CombCancelParam param) { |
| | | mobileService.combCancel(param, getUserId()); |
| | | return R.ok("取消组托成功"); |
| | | } |
| | | |
| | | @RequestMapping("/comb/auth") |
| | |
| | | List<CombParam.CombMat> combMats = combParam.getCombMats(); |
| | | for (CombParam.CombMat mat : combMats) { |
| | | mat.setStandby1(nccSaleXclGgsybWms.getCkbm()); |
| | | mat.setCstateid(nccSaleXclGgsybWms.getCstateid()); |
| | | } |
| | | |
| | | mobileService.comb(combParam, getUserId()); |
| | |
| | | return R.ok("上报ERP成功"); |
| | | } |
| | | |
| | | @RequestMapping("/pallet/toOutSta") |
| | | @ManagerAuth(memo = "托盘去出库口") |
| | | public R toOutSta(@RequestBody PalletToOutStaParam param) { |
| | | mobileService.toOutSta(param, getUserId()); |
| | | return R.ok(); |
| | | } |
| | | |
| | | @RequestMapping("/pallet/toAllOut") |
| | | @ManagerAuth(memo = "拣料转全板") |
| | | public R toAllOut(@RequestBody PalletToAllOutParam param) { |
| | | mobileService.toAllOut(param, getUserId()); |
| | | return R.ok(); |
| | | } |
| | | |
| | | } |