【sf.t-计划】在排程单详情页选择时间段进行排程时未校验日历有效工作时间

This commit is contained in:
liaodanlong
2025-04-23 11:24:38 +08:00
parent 5438ff6df1
commit ef5c2649c9
2 changed files with 1 additions and 1 deletions

View File

@@ -228,6 +228,7 @@ class sf_production_plan(models.Model):
"""
排程方法
"""
self.deal_processing_schedule(self.date_planned_start)
for record in self:
if not record.production_line_id:
raise ValidationError("未选择生产线")