From caf1bba050b6949a88f30207c7efd1c7dc44032d Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 19 Nov 2025 15:53:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20do=5Fout=E6=8A=A5=E9=94=99=E6=9B=B4?= =?UTF-8?q?=E6=98=8E=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/inm/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/inm/services.py b/apps/inm/services.py index f4039b7b..8f00a830 100644 --- a/apps/inm/services.py +++ b/apps/inm/services.py @@ -88,7 +88,7 @@ def do_out(item: MIOItem, is_reverse: bool = False): defect=defect ) except (MaterialBatch.DoesNotExist, MaterialBatch.MultipleObjectsReturned) as e: - raise ParseError(f"批次错误!{e}") + raise ParseError(f"批次{xbatch}错误!{e}") mb.count = mb.count - xcount if mb.count < 0: raise ParseError(f"{mb.batch}-{str(mb.material)}-批次库存不足,操作失败")