调整出库反写
This commit is contained in:
@@ -56,7 +56,7 @@ namespace WMS.Web.Domain.Services
|
||||
//任务单明细
|
||||
var tDetail = outStockTask.Details.FirstOrDefault(f => f.MaterialId == d.MaterialId);
|
||||
if (tDetail == null) continue;
|
||||
var res = tDetail.OutStock(d.MaterialId, d.Qty);
|
||||
var res = outStockTask.OutStock(d.MaterialId, d.Qty);
|
||||
if (!res.IsSuccess) return res;
|
||||
|
||||
var outd = _mapper.Map<OutStockDetails>(tDetail);
|
||||
|
||||
Reference in New Issue
Block a user