|
|
@ -306,10 +306,8 @@ public class KittingIssueRequestAppService : SfsStoreRequestAppServiceBase<Kitti |
|
|
|
{ |
|
|
|
//所有已发数量
|
|
|
|
decimal allIssuedQty = 0; |
|
|
|
|
|
|
|
//所有已发数量
|
|
|
|
decimal allReceivedQty = 0; |
|
|
|
|
|
|
|
foreach (var allKittingIssueJobDto in allKittingIssueJobDtos) |
|
|
|
{ |
|
|
|
var jobDetailDtos = allKittingIssueJobDto.Details.Where(p => |
|
|
@ -319,7 +317,6 @@ public class KittingIssueRequestAppService : SfsStoreRequestAppServiceBase<Kitti |
|
|
|
//所有已发数量
|
|
|
|
allReceivedQty += jobDetailDtos.Sum(p => p.HandledToQty); |
|
|
|
} |
|
|
|
|
|
|
|
requestDetail.IssuedQty = allIssuedQty; |
|
|
|
requestDetail.ReceivedQty = allReceivedQty; |
|
|
|
} |
|
|
|