namespace Admin.NET.Plugin.AiDOP.MaterialWarehouse.Dto; /// /// S5 标签查询 列表查询入参(只读)。 /// /// 数据源:aidopdev.MissedPrint(legacy 标签/条码记录表,只读)。 /// 状态描述经 GeneralizedCodeMaster(FldName='BarcodeStatus') 解码。 /// MissedPrint 无 tenant_id 列,TenantId 仅为前端 withAidopTenantParams 注入的透传参数,本查询不据其过滤(对齐既有 MissedPrint 只读投影先例,按工厂域隔离为后续独立议题)。 /// public class LabelQueryListInput { /// 页码(从 1 开始) public int Page { get; set; } = 1; /// 每页条数 public int PageSize { get; set; } = 10; /// 物料编码(ItemNum,模糊匹配) public string? ItemNum { get; set; } /// 批次号(LotSerial,模糊匹配) public string? LotSerial { get; set; } /// 库位(Location,精确匹配,下拉选择) public string? Location { get; set; } /// 货架(Shelf,模糊匹配) public string? Shelf { get; set; } /// 送货单号(ShipperNbr,模糊匹配) public string? ShipperNbr { get; set; } /// 状态(Status,精确匹配,下拉选择) public string? Status { get; set; } /// 条码(BarCode,模糊匹配) public string? BarCode { get; set; } /// 排序字段(前端列 prop:barCode/itemNum/qty/status/lotSerial/location/prodDate/invDate/expireDate) public string? OrderBy { get; set; } /// 排序方向(asc / desc) public string? OrderDir { get; set; } /// 租户 ID(前端 withAidopTenantParams 注入;MissedPrint 无租户列,本查询忽略,不据此过滤) public long? TenantId { get; set; } } /// /// S5 标签查询 列表行(只读)。字段对齐前端列 prop(camelCase),源列见注释。 /// public class LabelQueryListRow { /// 主键 id(MissedPrint.RecID) public long Id { get; set; } /// 条码(BarCode) public string? BarCode { get; set; } /// 物料编码(ItemNum) public string? ItemNum { get; set; } /// 描述(Descr) public string? Descr { get; set; } /// 规格型号(Product) public string? Product { get; set; } /// 数量(Qty) public decimal? Qty { get; set; } /// 状态码(Status) public string? Status { get; set; } /// 状态描述(GeneralizedCodeMaster BarcodeStatus 解码;无解码回落原码) public string? StatusDesc { get; set; } /// 批次号(LotSerial) public string? LotSerial { get; set; } /// 库位(Location) public string? Location { get; set; } /// 货架(Shelf) public string? Shelf { get; set; } /// 单据号(OrdNbr) public string? OrdNbr { get; set; } /// 包装数量(PackingQty,默认隐藏列) public decimal? PackingQty { get; set; } /// 生产日期(ProdDate) public DateTime? ProdDate { get; set; } /// 工单编号(WorkOrd) public string? WorkOrd { get; set; } /// 生产线(ProdLine) public string? ProdLine { get; set; } /// 标签格式(LabelFormat) public string? LabelFormat { get; set; } /// 位置(Position,默认隐藏列) public string? Position { get; set; } /// 箱号(Carton) public string? Carton { get; set; } /// 班次(Period) public int? Period { get; set; } /// 供应商(Supply) public string? Supply { get; set; } /// 采购单号(PurOrd) public string? PurOrd { get; set; } /// 采购单项次(PurLine) public int? PurLine { get; set; } /// 送货单号(ShipperNbr) public string? ShipperNbr { get; set; } /// 送货单项次(ShipperLine) public int? ShipperLine { get; set; } /// 入库日期(InvDate) public DateTime? InvDate { get; set; } /// 过期日期(ExpireDate) public DateTime? ExpireDate { get; set; } /// 备注(Remark) public string? Remark { get; set; } } /// 状态下拉选项(BarcodeStatus 码表:Val=状态码,Label=中文描述)。 public class LabelQueryStatusOption { /// 状态码(GeneralizedCodeMaster.Val) public string? Val { get; set; } /// 中文描述(GeneralizedCodeMaster.Comments) public string? Label { get; set; } } /// 库位下拉选项(MissedPrint.Location distinct)。 public class LabelQueryLocationOption { /// 库位(MissedPrint.Location) public string? Val { get; set; } }