访客入厂审批
This commit is contained in:
parent
9a7f02feb7
commit
2302921c08
|
@ -38,6 +38,7 @@ def visit_audit_end(ticket):
|
||||||
ep.name = visitor.name
|
ep.name = visitor.name
|
||||||
ep.phone = visitor.phone
|
ep.phone = visitor.phone
|
||||||
ep.photo = visitor.photo
|
ep.photo = visitor.photo
|
||||||
|
ep.type = 'visitor'
|
||||||
ep.save()
|
ep.save()
|
||||||
visitor.employee = ep
|
visitor.employee = ep
|
||||||
visitor.visit = visit # 更新当前所属访客项目
|
visitor.visit = visit # 更新当前所属访客项目
|
||||||
|
|
Loading…
Reference in New Issue