fix: mlogbin 不合格物料校验去除
This commit is contained in:
parent
c293dd068f
commit
cbedb81b0e
|
|
@ -382,8 +382,6 @@ class MlogbInSerializer(CustomModelSerializer):
|
|||
mlog: Mlog = attrs['mlog']
|
||||
mtask: Mtask = attrs['mtask']
|
||||
wm_in: WMaterial = attrs['wm_in']
|
||||
if wm_in.notok_sign is not None:
|
||||
raise ValidationError('不合格物料不可使用')
|
||||
if mlog.route != mtask.route:
|
||||
raise ValidationError('工序不匹配')
|
||||
route = mlog.route
|
||||
|
|
|
|||
Loading…
Reference in New Issue