1
This commit is contained in:
@@ -222,7 +222,7 @@ namespace Tnb.WarehouseMgr
|
||||
item.purchase_prqty += purchase_arriveqty;
|
||||
if (item.purchase_prqty > item.purchase_qty)
|
||||
{
|
||||
throw Oops.Bah($"采购收货单明细行物料{item.material_code} 批次{item.code_batch} 到货数量不能超过采购数量!");
|
||||
//throw Oops.Bah($"采购收货单明细行物料{item.material_code} 批次{item.code_batch} 到货数量不能超过采购数量!");
|
||||
}
|
||||
|
||||
if (wmsPurchaseOrderDs.Count > 0)
|
||||
@@ -231,7 +231,7 @@ namespace Tnb.WarehouseMgr
|
||||
wmsPurchaseOrderD.actual_quantity += purchase_arriveqty;
|
||||
if (wmsPurchaseOrderD.actual_quantity > wmsPurchaseOrderD.purchase_quantity)
|
||||
{
|
||||
throw Oops.Bah($"采购订单明细行物料{wmsPurchaseOrderD.matcode} 批次{wmsPurchaseOrderD.code_batch} 到货数量不能超过采购数量!");
|
||||
//throw Oops.Bah($"采购订单明细行物料{wmsPurchaseOrderD.matcode} 批次{wmsPurchaseOrderD.code_batch} 到货数量不能超过采购数量!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user