diff --git a/apps/wpm/services_2.py b/apps/wpm/services_2.py index e197733c..1f940575 100644 --- a/apps/wpm/services_2.py +++ b/apps/wpm/services_2.py @@ -182,7 +182,7 @@ def get_alldata_with_batch(batch: str): material_start = item.material if item.test_note: data["十车间入库_检验备注"] = ";".join([data["十车间入库_检验备注"], item.test_note]) - if item.mio.do_user: + if item.mio.mio_user: data["十车间入库_仓库执行人"].append(item.mio.mio_user) if item.test_user: data["十车间入库_抽检人"].append(item.test_user)