|
@ -67,6 +67,11 @@ public class InventoryInitialNoteEventHandler |
|
|
//构造库存转移记录创建Input
|
|
|
//构造库存转移记录创建Input
|
|
|
foreach (var detail in inventoryInitialNote.Details) |
|
|
foreach (var detail in inventoryInitialNote.Details) |
|
|
{ |
|
|
{ |
|
|
|
|
|
if(string.IsNullOrEmpty(detail.Lot)) |
|
|
|
|
|
{ |
|
|
|
|
|
detail.Lot = ""; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
var transaction = ObjectMapper.Map<InventoryInitialNoteDetail, TransactionEditInput>(detail); |
|
|
var transaction = ObjectMapper.Map<InventoryInitialNoteDetail, TransactionEditInput>(detail); |
|
|
|
|
|
|
|
|
transaction.TransType = TransType; |
|
|
transaction.TransType = TransType; |
|
|