From 216537c74261b71ed0d72eeb007ae0723decf074 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 18 Nov 2021 09:42:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E4=B8=8B=E4=B8=80=E6=AD=A5?= =?UTF-8?q?=E5=AD=90=E5=B7=A5=E5=BA=8Fbug?= 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, 1 insertion(+), 1 deletion(-) diff --git a/hb_server/apps/wpm/views.py b/hb_server/apps/wpm/views.py index 1ff9c5d..1b63890 100644 --- a/hb_server/apps/wpm/views.py +++ b/hb_server/apps/wpm/views.py @@ -442,7 +442,7 @@ class DoFormSubmit(CreateAPIView, GenericAPIView): else: for wproduct in vdata['wproducts']: # 获取下一步子工序 - newstep, hasNext = WpmServies.get_next_step(i['subproduction_plan'], vdata['step']) + newstep, hasNext = WpmServies.get_next_step(wproduct.subproduction_plan, vdata['step']) wproduct.step = newstep wproduct.pre_step=vdata['step'] if hasNext: