fix: mlog 的cal_count_notok_full的bug 3
This commit is contained in:
parent
6e93d7cd68
commit
519672ef3f
|
@ -494,7 +494,7 @@ class MlogSerializer(CustomModelSerializer):
|
|||
]
|
||||
if mlogbin_defect_objects:
|
||||
MlogbDefect.objects.bulk_create(mlogbin_defect_objects)
|
||||
minx.cal_count_pn_jgqbl()
|
||||
minx.cal_count_pn_jgqbl()
|
||||
|
||||
# 修改产出
|
||||
if instance.fill_way == Mlog.MLOG_2 and instance.material_out.brothers:
|
||||
|
@ -539,7 +539,7 @@ class MlogSerializer(CustomModelSerializer):
|
|||
]
|
||||
if mlogb_defect_objects:
|
||||
MlogbDefect.objects.bulk_create(mlogb_defect_objects)
|
||||
mox.cal_count_notok()
|
||||
mox.cal_count_notok()
|
||||
return instance
|
||||
|
||||
def validate(self, attrs):
|
||||
|
|
Loading…
Reference in New Issue