bug修复
This commit is contained in:
Binary file not shown.
@@ -334,7 +334,7 @@ namespace WMS.Web.Domain.Services
|
||||
foreach (var item in task.Details)
|
||||
{
|
||||
var current_det= dtoTotalDetails.Where(x => x.ErpDetailId == item.ErpDetailId).FirstOrDefault();
|
||||
if(current_det!=null && current_det.ErpDetailId==item.ErpDetailId && item.AccruedQty<current_det.Qty)
|
||||
if(current_det!=null && current_det.ErpDetailId==item.ErpDetailId && (item.AccruedQty-item.RealityQty)<current_det.Qty)
|
||||
return Result.ReFailure(ResultCodes.ShelfNoPurchaseSave_Qty_Error);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user