fix: 其他入库时batchst.g_create传参错误

This commit is contained in:
caoqianming 2025-04-19 21:23:21 +08:00
parent 101a51050d
commit adcde59bd1
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ class InmService:
if item.mb:
BatchSt.g_create(batch=item.batch)
else:
BatchSt.g_create(batch=item, mio=instance, material_start=item.material)
BatchSt.g_create(batch=item.batch, mio=instance, material_start=item.material)
if is_reverse:
cls.update_mb(instance, -1)
else: