From af09d35177ad7fc3b126d8b0598b453f864ed07e Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 13 Nov 2025 11:01:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8F=8D=E5=90=91=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E6=97=B6=E5=BF=BD=E7=95=A5=E6=98=8E=E7=BB=86=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/inm/services.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/inm/services.py b/apps/inm/services.py index 49df8dcf..3b968010 100644 --- a/apps/inm/services.py +++ b/apps/inm/services.py @@ -347,8 +347,6 @@ class InmService: out = -1 """ mioitems = MIOItem.objects.filter(mio=instance) - if not mioitems.exists(): - raise ParseError("未填写物料明细") for i in mioitems: cls.update_mb_item(i, in_or_out, 'count')