待上架数量

This commit is contained in:
tongfei
2024-04-03 17:21:46 +08:00
parent 0c28dade59
commit ec3118837d
3 changed files with 11 additions and 0 deletions

View File

@@ -371,6 +371,7 @@ namespace WMS.Web.Repositories
ReceiveQty = s.detail.ReceiveQty,
//采购:可入库数量=应入库数量-收货数量-已交数量+该明细的入库数量之和;
AvailableQty = s.detail.AccruedQty - s.detail.ReceiveQty - (s.detail.DeliveredQty > s.detail.RealityQty ? s.detail.DeliveredQty : s.detail.RealityQty),
WaitSlefQty = s.detail.ReceiveQty-s.detail.RealityQty,
Remark = s.detail.Remark,
ErpDetailId = s.detail.ErpDetailId
}).ToListAsync();