namespace Admin.NET.Plugin.AiDOP.Manufacturing.Dto; /// /// 质量工程师提交不合格处置入参。写 ado_s6_ipqc_quality_disposition 并推进 ApprovalFlow N3→end。 /// 仅记录处置方案,不触发库存/生产/仓储/返工/报废实际动作。 /// public class IpqcSubmitDispositionInput { /// 检验单 id(qms_gcjyd.id,BizId) public long Id { get; set; } /// 处置类型:REWORK 返工 / CONCESSION 让步 / SCRAP 报废 / OTHER 其它 public string? DispositionType { get; set; } /// 处置数量(不得为负) public decimal? DispositionQty { get; set; } /// 返工数量(不得为负) public decimal? ReworkQty { get; set; } /// 让步数量(不得为负) public decimal? ConcessionQty { get; set; } /// 报废数量(不得为负) public decimal? ScrapQty { get; set; } /// 处置意见(必填) public string? DispositionOpinion { get; set; } /// 责任部门 public string? ResponsibilityDept { get; set; } /// 责任人 public string? ResponsibleUser { get; set; } /// 流程意见(可选) public string? Comment { get; set; } } /// /// 质量处置详情输出(只读,供前端展示已提交处置)。 /// public class IpqcDispositionOutput { public long Id { get; set; } public long InspectionId { get; set; } public string? InspectionNo { get; set; } public string? DispositionNo { get; set; } public string? DispositionType { get; set; } public decimal? DispositionQty { get; set; } public decimal? ReworkQty { get; set; } public decimal? ConcessionQty { get; set; } public decimal? ScrapQty { get; set; } public string? DispositionOpinion { get; set; } public string? ResponsibilityDept { get; set; } public string? ResponsibleUser { get; set; } public int Status { get; set; } public string? SubmittedByName { get; set; } public DateTime? SubmittedAt { get; set; } }