Compare commits
2 Commits
10d4a64c3a
...
0e783a92e0
Author | SHA1 | Date |
---|---|---|
|
0e783a92e0 | |
|
3e90dd6820 |
|
@ -1,7 +1,7 @@
|
|||
|
||||
from apps.wf.models import Ticket
|
||||
# TicketFlow, Transition, Workflow, CustomField, State,
|
||||
from apps.ofm.models import SealManage, LendingSeal
|
||||
from apps.ofm.models import LendingSeal
|
||||
from rest_framework.exceptions import ParseError
|
||||
|
||||
|
||||
|
@ -12,7 +12,7 @@ def seal_submit_validate(ins: LendingSeal):
|
|||
raise ParseError('该任务已停止!')
|
||||
|
||||
def bind_lendingseal(ticket: Ticket, transition, new_ticket_data: dict):
|
||||
ins = SealManage.objects.get(id=new_ticket_data['t_id'])
|
||||
ins = LendingSeal.objects.get(id=new_ticket_data['t_id'])
|
||||
if ins.submit_time is not None:
|
||||
raise ParseError('该印章申请不可提交审批')
|
||||
# seal_submit_validate(ins)
|
||||
|
|
Loading…
Reference in New Issue