Compare commits
2 Commits
2799e85605
...
7a10da7e2b
| Author | SHA1 | Date |
|---|---|---|
|
|
7a10da7e2b | |
|
|
164f3f16bb |
|
|
@ -1208,6 +1208,8 @@ class HandoverSerializer(CustomModelSerializer):
|
|||
new_defect = new_wm.defect
|
||||
if not attrs.get("new_batch", None):
|
||||
raise ParseError("必须指定合并后的批次")
|
||||
if 'undefined' in attrs['new_batch'] or 'null' in attrs['new_batch']:
|
||||
raise ParseError("新批次号错误!")
|
||||
|
||||
|
||||
wm:WMaterial = attrs.get('wm', None)
|
||||
|
|
|
|||
Loading…
Reference in New Issue