fix: 光子get_alldata_with_batch 人员获取错误2

This commit is contained in:
caoqianming 2025-06-24 14:28:22 +08:00
parent 5dddbfef81
commit c338509854
1 changed files with 1 additions and 1 deletions

View File

@ -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)