收货接口优化
This commit is contained in:
@@ -431,7 +431,7 @@ namespace WMS.Web.Domain.Services
|
||||
{
|
||||
//当前明细收货的明细:可以通过erp明细ID获取唯一一个;并变更收货数量
|
||||
var current_dto_det = dto.Details.Where(x => x.ErpDetailId == x.ErpDetailId).FirstOrDefault();
|
||||
if (current_dto_det != null)
|
||||
if (current_dto_det != null && x.ErpDetailId == current_dto_det.ErpDetailId)
|
||||
x.ReceiveQty = x.ReceiveQty + current_dto_det.ReceiveQty;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user