Accept Merge Request #1796: (feature/制造功能优化 -> develop)

Merge Request: 人工线下加工编程方式设置

Created By: @马广威
Accepted By: @马广威
URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/1796
This commit is contained in:
马广威
2025-02-10 11:00:17 +08:00
committed by Coding

View File

@@ -658,6 +658,8 @@ class MrpProduction(models.Model):
programme_way = 'manual operation'
else:
programme_way = 'auto'
if cnc.production_type == '人工线下加工':
programme_way = 'manual operation'
if quick_order:
programme_way = 'manual operation'
try: