namespace Admin.NET.Plugin.AiDOP.MaterialWarehouse.Dto; /// /// 盘点标签确认列表 查询入参(只读)。读 aidopdev.MissedPrint(IsTag=1) + ItemMaster。 /// public class StocktakeLabelConfirmListInput { /// 页码(从 1 开始) public int Page { get; set; } = 1; /// 每页条数 public int PageSize { get; set; } = 10; /// 库位(MissedPrint.Location,模糊匹配) public string? Location { get; set; } /// 货架(MissedPrint.Shelf,模糊匹配) public string? Shelf { get; set; } /// 物料编码(MissedPrint.ItemNum,模糊匹配) public string? ItemNum { get; set; } /// 批次号(MissedPrint.LotSerial,模糊匹配) public string? LotSerial { get; set; } /// 核查结果(有差异 / 正常;按 CompQty<>Qty 过滤) public string? InvStatus { get; set; } /// 排序字段(前端列 prop:itemNum / location / shelf / lotSerial / qty / compQty / qtyDiff / invStatus / updateTime) public string? OrderBy { get; set; } /// 排序方向(asc / desc) public string? OrderDir { get; set; } /// 租户 ID(前端 withAidopTenantParams 注入;MissedPrint 无租户列,本查询忽略,不据此过滤) public long? TenantId { get; set; } } /// /// 盘点标签确认列表 行(只读,扁平)。字段对齐现有前端骨架页 stocktakeLabelConfirmList.vue 的列 prop(camelCase)。 /// public class StocktakeLabelConfirmListRow { /// 主键 id(MissedPrint.RecID) public long Id { get; set; } /// 物料编码(MissedPrint.ItemNum) public string? MaterialCode { get; set; } /// 物料名称(ItemMaster.Descr) public string? MaterialName { get; set; } /// 规格型号(ItemMaster.Descr1) public string? Spec { get; set; } /// 库位(MissedPrint.Location) public string? Location { get; set; } /// 货架(MissedPrint.Shelf) public string? Shelf { get; set; } /// 实盘库位(MissedPrint.FirmString2) public string? ActualLocation { get; set; } /// 实盘货架(MissedPrint.FirmString4) public string? ActualShelf { get; set; } /// 批次号(MissedPrint.LotSerial) public string? BatchNo { get; set; } /// 单位(ItemMaster.UM) public string? Unit { get; set; } /// 标签数量(MissedPrint.Qty) public decimal? LabelQty { get; set; } /// 实盘数量(MissedPrint.CompQty) public decimal? ActualQty { get; set; } /// 差异数量(CompQty - Qty) public decimal? DiffQty { get; set; } /// 状态(Status='Q'→冻结,其余 raw) public string? Status { get; set; } /// 盘点结果(CompQty<>Qty→有差异,否则正常) public string? StocktakeResult { get; set; } /// 盘点人(MissedPrint.UpdateUser) public string? StocktakePerson { get; set; } /// 盘点时间(MissedPrint.UpdateTime) public DateTime? StocktakeTime { get; set; } /// 标签号/条码(MissedPrint.BarCode;DTO 保留,前端默认不展示) public string? BarCode { get; set; } } /// /// 盘点标签确认 库位下拉选项(MissedPrint IsTag=1 的 Location distinct,只读)。 /// public class StocktakeLabelConfirmLocationOption { /// 库位(MissedPrint.Location) public string? Val { get; set; } }