From 9695997542a0bb89caa268186014ae073684d573 Mon Sep 17 00:00:00 2001 From: mgw <1392924357@qq.com> Date: Mon, 10 Feb 2025 10:58:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=B7=A5=E7=BA=BF=E4=B8=8B=E5=8A=A0?= =?UTF-8?q?=E5=B7=A5=E7=BC=96=E7=A8=8B=E6=96=B9=E5=BC=8F=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_manufacturing/models/mrp_production.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sf_manufacturing/models/mrp_production.py b/sf_manufacturing/models/mrp_production.py index cd60bce1..0cd04e27 100644 --- a/sf_manufacturing/models/mrp_production.py +++ b/sf_manufacturing/models/mrp_production.py @@ -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: