From 2982bccf7fffc0576b678cc7f084cccb64fb5a8d Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 2 Apr 2024 17:22:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=9A=E4=BA=86=E4=B8=80=E6=AC=A1save?= =?UTF-8?q?=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/inm/services.py | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/inm/services.py b/apps/inm/services.py index f495012e..c584161c 100644 --- a/apps/inm/services.py +++ b/apps/inm/services.py @@ -64,7 +64,6 @@ class InmService: if instance.type == MIO.MIO_TYPE_DO_IN: # 生产入库需要记录production_dept字段 if mb.production_dept is None or mb.production_dept == belong_dept: mb.production_dept = belong_dept - mb.save() else: raise ParseError('同种物料不同生产车间应该有不同批次号!') mb.save()