From 43e96429171f873cb80b314d384f009cffee9b86 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 24 Jun 2025 14:34:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=89=E5=AD=90get=5Falldata=5Fwith?= =?UTF-8?q?=5Fbatch=20=E5=85=B6=E4=BB=96=E5=85=A5=E5=BA=93=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E9=94=99=E8=AF=AF2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/services_2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wpm/services_2.py b/apps/wpm/services_2.py index 1f940575..693d8a75 100644 --- a/apps/wpm/services_2.py +++ b/apps/wpm/services_2.py @@ -221,7 +221,7 @@ def get_alldata_with_batch(batch: str): if f'其他入库_{field}' not in data: data[f'其他入库_{field}'] = getattr(item, field) else: - data[f'十车间入库_{field}'] += getattr(item, field) + data[f'其他入库_{field}'] += getattr(item, field) data["其他入库_仓库执行人"] = list(set(data["其他入库_仓库执行人"])) data["其他入库_仓库执行人"] = ";".join([item.name for item in data["其他入库_仓库执行人"]]) data["其他入库_日期"] = list(set(data["其他入库_日期"]))