| | |
| | | }else { |
| | | pla.setStatus(GlobleParameter.PLA_STATUS_3); |
| | | } |
| | | log.warn("pla出库v1,更新为待出库或则全部出库,pla:{},anfme:{}",pla,anfme); |
| | | plaService.updateById(pla); |
| | | SaasUtils.insertLog(1,locNo,pla.getBrand(),anfme,null,null, |
| | | pla.getBatch(),pla.getPackageNo(),pla.getOwner(),pla.getWorkshop(),null); |
| | |
| | | throw new CoolException("当前物料剩余库存不足"); |
| | | } |
| | | |
| | | |
| | | log.warn("无订单拣货出库,更新为待出库或则全部出库,pla:{},anfme:{}",pla,anfme); |
| | | pla.setWeightAnfme(pla.getWeightAnfme() - anfme); |
| | | if(pla.getWeightAnfme() > 0){ |
| | | pla.setStatus(GlobleParameter.PLA_STATUS_3); |