Compare commits
2 Commits
d26e066769
...
2445ae53f1
Author | SHA1 | Date |
---|---|---|
|
2445ae53f1 | |
|
0fc57a454f |
|
@ -739,6 +739,8 @@ def handover_submit(handover:Handover, user: User, now: Union[datetime.datetime,
|
|||
recive_mgroup = handover.recive_mgroup
|
||||
recive_dept = handover.recive_dept
|
||||
|
||||
if handover.type == Handover.H_CHANGE:
|
||||
handover.mtype = Handover.H_MERGE
|
||||
new_batch = handover.new_batch
|
||||
if new_batch and mtype != Handover.H_MERGE:
|
||||
raise ParseError("只有合并时才能提供新批次号")
|
||||
|
|
Loading…
Reference in New Issue