库存优化
This commit is contained in:
@@ -167,6 +167,7 @@ namespace WMS.Web.Domain.Services
|
||||
result.BoxId = box.Id;
|
||||
foreach (var item in box.Details)
|
||||
{
|
||||
//这里找任务单的物料条件:物料ID和应入库数量大于收货数量,防止有同样的物料数据,收货的时候 会有收货数量,只要找到没有收完的就行了
|
||||
var current_task_Det= tast.Details.Where(x => x.MaterialId == item.MaterialId && x.AccruedQty>x.ReceiveQty).FirstOrDefault();
|
||||
//3.2映射返回明细对象
|
||||
var box_task_detail = new BoxDetailsInStockTaskDto();
|
||||
|
||||
Reference in New Issue
Block a user