feat: mlogbin qct 可依据fix选择

This commit is contained in:
caoqianming 2025-12-26 17:00:00 +08:00
parent a8ae8ee32a
commit c56f908b42
1 changed files with 1 additions and 1 deletions

View File

@ -836,7 +836,7 @@ class MlogbInViewSet(BulkCreateModelMixin, BulkUpdateModelMixin, BulkDestroyMode
"batch": mlogbin.batch,
"batch_ofrom": wm_in.batch_ofrom,
"material_ofrom": wm_in.material_ofrom,
"qct": Qct.get(material_out, "process", "out"),
"qct": Qct.get(material_out, "fix" if mlog.is_fix else "process", "out"),
}
if mtype == Process.PRO_DIV and material_in.tracking == Material.MA_TRACKING_SINGLE:
pass