fix: 其他入库时batchst.g_create传参错误
This commit is contained in:
parent
101a51050d
commit
adcde59bd1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue