Compare commits
No commits in common. "7a10da7e2b49f945d69fcf9788735f824743d64f" and "2799e85605c2ca2a2f01c2297065a27b3facafea" have entirely different histories.
7a10da7e2b
...
2799e85605
|
|
@ -1208,8 +1208,6 @@ class HandoverSerializer(CustomModelSerializer):
|
||||||
new_defect = new_wm.defect
|
new_defect = new_wm.defect
|
||||||
if not attrs.get("new_batch", None):
|
if not attrs.get("new_batch", None):
|
||||||
raise ParseError("必须指定合并后的批次")
|
raise ParseError("必须指定合并后的批次")
|
||||||
if 'undefined' in attrs['new_batch'] or 'null' in attrs['new_batch']:
|
|
||||||
raise ParseError("新批次号错误!")
|
|
||||||
|
|
||||||
|
|
||||||
wm:WMaterial = attrs.get('wm', None)
|
wm:WMaterial = attrs.get('wm', None)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue