feat: 支持个号转批号6
This commit is contained in:
parent
ced3e7a16c
commit
e59c83aa3f
|
@ -724,6 +724,7 @@ class MlogbInSerializer(CustomModelSerializer):
|
|||
attrs['batch'] = wm_in.batch
|
||||
attrs["batch_ofrom"] = wm_in.batch_ofrom
|
||||
attrs["material_ofrom"] = wm_in.material_ofrom
|
||||
attrs["number_from"] = wm_in.number_from
|
||||
if route and route.batch_bind and mtask is not None:
|
||||
if not WMaterial.mat_in_qs(mtask).filter(id=wm_in.id).exists():
|
||||
raise ParseError('该车间库存非本任务使用')
|
||||
|
|
Loading…
Reference in New Issue