From 752a0e9d92720b89507368759a240cc524eb6e03 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 8 Dec 2021 14:48:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=B9=E5=B1=82=E6=A3=80=E9=AA=8C=E4=B9=8B?= =?UTF-8?q?=E5=90=8E=E4=B8=BA=E5=90=88=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hb_server/apps/wpm/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/hb_server/apps/wpm/views.py b/hb_server/apps/wpm/views.py index 1eff791..a9a9230 100644 --- a/hb_server/apps/wpm/views.py +++ b/hb_server/apps/wpm/views.py @@ -230,8 +230,6 @@ class WProductViewSet(ListModelMixin, GenericViewSet): wproduct.act_state = WProduct.WPR_ACT_STATE_DOWAIT elif wproduct.act_state == WProduct.WPR_ACT_STATE_TOTEST and wproduct.material.type == Material.MA_TYPE_GOOD: # 成品检验 wproduct.act_state = WProduct.WPR_ACT_STATE_TOFINALTEST - elif wproduct.step.type == Step.STEP_TYPE_COMB: # 如果是夹层 - wproduct.act_state = WProduct.WPR_ACT_STATE_TOCOMBTEST else: wproduct.act_state = WProduct.WPR_ACT_STATE_OK if wproduct.number is None: # 产生半成品编号