|
|
@ -142,9 +142,6 @@ public class PurchaseReceiptNoteEventHandler |
|
|
|
/// <returns></returns>
|
|
|
|
private async Task CreateTransactionsAsync(PurchaseReceiptNote entity, |
|
|
|
Dictionary<string, EnumInspectType> dictionary) |
|
|
|
{ |
|
|
|
if (entity.Details.Any(p => |
|
|
|
p.PurchaseReceiptInspectStatus == EnumPurchaseReceiptInspect.OK)) |
|
|
|
{ |
|
|
|
var inboundTransactions = new List<TransactionEditInput>(); |
|
|
|
|
|
|
@ -156,7 +153,6 @@ public class PurchaseReceiptNoteEventHandler |
|
|
|
await TransactionAppService.AddManyAsync(inboundTransactions).ConfigureAwait(false); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 构造库存事务
|
|
|
|