feat: BatchSt.g_create取消传入check_mat
This commit is contained in:
parent
e9059c93bd
commit
14f3b215c4
|
@ -278,7 +278,7 @@ class InmService:
|
|||
else:
|
||||
for item in MIOItem.objects.filter(mio=instance):
|
||||
BatchSt.g_create(
|
||||
batch=item.batch, mio=instance, material_start=item.material, check_mat_start=True)
|
||||
batch=item.batch, mio=instance, material_start=item.material)
|
||||
from apps.pum.services import PumService
|
||||
if is_reverse:
|
||||
cls.update_mb(instance, -1)
|
||||
|
@ -291,7 +291,7 @@ class InmService:
|
|||
else:
|
||||
for item in MIOItem.objects.filter(mio=instance):
|
||||
BatchSt.g_create(
|
||||
batch=item.batch, mio=instance, material_start=item.material, check_mat_start=True)
|
||||
batch=item.batch, mio=instance, material_start=item.material)
|
||||
if is_reverse:
|
||||
cls.update_mb(instance, -1)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue