生产侧已统一为【生产物料库】(试剂 + 耗材 + 批次 + 领用 + 工单登记)。业务上还存在 「配置试剂」:由多个原试剂与耗材按配方配制而成,需 追溯每次配制用了哪些子物料,且配制产物 先入库存、再领用、再在生产工单步骤中登记消耗(方案 A,用户已确认)。这与已废弃的「耗材包」(仅模板、无配制实例与库存)不同,需在统一物料库上扩展第三类物料,而非恢复耗材包。
biz_production_material.material_type 新增 configured_reagent(配置试剂)production_material_type 新增「配置试剂」biz_production_material_formula:配置试剂 → 子物料(reagent / consumable)+ 标准用量 + 单位biz_production_material_prep(配制单头)+ biz_production_material_prep_line(子物料实际消耗行)parent_usage_id),记 prep_consume 流水(不二次扣 子物料 batch 库存)biz_production_material_stock_batch + prep_in 流水),stock_qty / remaining_qty 增加parent_usage_id,不二次扣库)materialType=configured_reagentbiz_production_material* 批次、领用、盘点、usage 流水体系configured-reagent-catalog: 配置试剂目录、material_type、字典、配方 BOM CRUDconfigured-reagent-prep: 配制单、子物料领用关联、prep_consume / prep_in 库存流水configured-reagent-work-order-usage: 配置试剂领用、工单步骤登记、我的领用记录扩展configured-reagent-ui: 生产物料库配方编辑、配制单 UI、工单配置试剂 Tabproduction-material-library: material_type 扩展 configured_reagent;筛选与 Tag 展示production-requisition-stock-log: 领用选项与流水 source_type 扩展 prep_consume / prep_inproduction-step-requisition-usage: 步骤子表与 API 支持配置试剂领用登记production_material_usage.source_type 语义扩展;可选 step 子表 biz_production_task_step_configured_reagent 或扩展现有结构models/crud/api 扩展 production_material*;新 prep 路由;register_step_usage_from_requisition 支持 configured_reagentproduction-material 页扩展类型与配方弹窗;新配制单 Tab/页;StepDetailPanel 配置试剂 Tab;status-tag-registry 新类型production-material-requisition 变更应已落地(统一物料库 + 领用 + step_save)