feat(Lot合批):
1.产生新批号时,新批号的原始批次数量应和现有数量保持一致
This commit is contained in:
parent
70fd962d20
commit
203afcfea0
@ -957,6 +957,7 @@ public class ZWmsInventoryServiceImpl extends ServiceImpl<ZWmsInventoryMapper, I
|
||||
BeanUtils.copyProperties(inventory, newInventory);
|
||||
newInventory.setInventoryId(newLotNo);
|
||||
newInventory.setHandle(Inventory.genHandle(site, newLotNo));
|
||||
newInventory.setOriginalQty(totalQty);
|
||||
newInventory.setQtyOnHand(totalQty);
|
||||
newInventory.setCreator(SecurityUtils.getUserName());
|
||||
newInventory.setCreateTime(LocalDateTime.now());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user