From 99df0166f8a4e39676e17fa98ddc9f180b272f68 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 21 Nov 2025 11:08:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=89=B9=E6=AC=A1=E5=8F=B7=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E9=94=99=E8=AF=AF=E7=9A=84=E6=A0=A1=E9=AA=8C2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/inm/services_daoru.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/inm/services_daoru.py b/apps/inm/services_daoru.py index d1bbb2fa..a5eb1fc9 100644 --- a/apps/inm/services_daoru.py +++ b/apps/inm/services_daoru.py @@ -157,7 +157,7 @@ def daoru_mioitems(path:str, mio:MIO): else: batch = "无" if batch != '无' and len(batch) < 5: - raise ParseError('批次号格式错误') + raise ParseError(f'第{ind}行批次号{batch}:格式错误') count = sheet[f"f{ind}"].value warehouse_name = sheet[f"g{ind}"].value try: