fix: 其他入库时batchst.g_create传参错误
This commit is contained in:
parent
101a51050d
commit
adcde59bd1
|
|
@ -261,7 +261,7 @@ class InmService:
|
||||||
if item.mb:
|
if item.mb:
|
||||||
BatchSt.g_create(batch=item.batch)
|
BatchSt.g_create(batch=item.batch)
|
||||||
else:
|
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:
|
if is_reverse:
|
||||||
cls.update_mb(instance, -1)
|
cls.update_mb(instance, -1)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue