feat: 完成返工交接2
This commit is contained in:
parent
9c67675ca7
commit
ec0df66542
|
@ -434,7 +434,7 @@ class HandoverSerializer(CustomModelSerializer):
|
|||
|
||||
def validate(self, attrs):
|
||||
if 'type' not in attrs:
|
||||
attrs['type'] == Handover.H_NORMAL
|
||||
attrs['type'] = Handover.H_NORMAL
|
||||
wm:WMaterial = attrs['wm']
|
||||
material = wm.material
|
||||
attrs['material'] = wm.material
|
||||
|
|
Loading…
Reference in New Issue