新增批号
This commit is contained in:
8
Gatedge.ScanCode/Models/K3Request/BaseData/Lot.cs
Normal file
8
Gatedge.ScanCode/Models/K3Request/BaseData/Lot.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Gatedge.ScanCode.Models.K3Request.BaseData
|
||||
{
|
||||
public class Lot
|
||||
{
|
||||
public int? FLotId { get; set; }
|
||||
public string? FNumber { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -110,6 +110,10 @@ namespace Gatedge.ScanCode.Models.K3Request.SaveModel
|
||||
/// 源单分录Id
|
||||
/// </summary>
|
||||
public string FSrcEntryId { get; set; }
|
||||
/// <summary>
|
||||
/// 批号
|
||||
/// </summary>
|
||||
public Lot? FLot { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -156,7 +156,12 @@ namespace Gatedge.ScanCode.Services
|
||||
FBarQty = n.FBarQty,
|
||||
FSrcBillId = n.FSrcBillId,
|
||||
FSrcEntryId = n.FSrcEntryId,
|
||||
FBarAuxPropId = n.FBarAuxpropId == 0 ? null : n.FBarAuxpropId
|
||||
FBarAuxPropId = n.FBarAuxpropId == 0 ? null : n.FBarAuxpropId,
|
||||
FLot = new Lot()
|
||||
{
|
||||
FLotId = n.FLot_Id == 0 ? null : n.FLot_Id,
|
||||
FNumber = n.FLot_Text,
|
||||
}
|
||||
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user