|
|
@ -49,6 +49,11 @@ public class PurchaseReceiptJobEventHandler : |
|
|
|
var holdLocation = await LocationAclService.GetFirstByTypeAsync(EnumLocationType.HOLD).ConfigureAwait(false); //隔离库位
|
|
|
|
var createInput = ObjectMapper.Map<PurchaseReceiptJob, PurchaseReceiptNoteEditInput>(purchaseReceiptJob); |
|
|
|
|
|
|
|
if (string.IsNullOrEmpty(createInput.Worker)) |
|
|
|
{ |
|
|
|
createInput.Worker = purchaseReceiptJob.Worker; |
|
|
|
} |
|
|
|
|
|
|
|
//未收货记录
|
|
|
|
var noReceiptNoteList = createInput.Details.Where(p => p.Qty == 0); |
|
|
|
foreach (var detailInput in noReceiptNoteList) |
|
|
|