修复工件配送时间

This commit is contained in:
jinling.yang
2024-04-26 14:44:26 +08:00
parent 50aae8a1e8
commit 8f9781dd13
3 changed files with 7 additions and 6 deletions

View File

@@ -1128,8 +1128,8 @@ class WorkPieceDelivery(models.Model):
is_not_route += 1
else:
raise UserError('请选择【任务路线】再进行配送')
if production_type != item.type:
raise UserError('请选择类型为【上产线】的制造订单进行配送')
# if production_type != item.type:
# raise UserError('请选择类型为【上产线】的制造订单进行配送')
if down_status != item.status:
raise UserError('请选择状态为【待下发】的制造订单进行配送')
if same_production_line_id is None: