人工线下加工

This commit is contained in:
liaodanlong
2024-11-28 10:05:17 +08:00
parent acb24d69e3
commit 73ab43f16a

View File

@@ -1012,7 +1012,7 @@ class MrpProduction(models.Model):
if self.production_type == '自动化产线加工':
date_planned_start, date_planned_end, last_time = work.auto_production_process(last_time, count,
type_map)
elif self.production_type == '':
elif self.production_type == '人工线下加工':
date_planned_start, date_planned_end, last_time = work.manual_offline_process(last_time, index)
work.update_work_start_end(date_planned_start, date_planned_end)