新增批号

This commit is contained in:
2025-12-15 17:01:01 +08:00
parent 0210aeacb9
commit 00f11185ba
4 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
namespace Gatedge.ScanCode.Models.K3Request.BaseData
{
public class Lot
{
public int? FLotId { get; set; }
public string? FNumber { get; set; }
}
}

View File

@@ -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>

View File

@@ -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,
}
}),
};