访客入厂审批

This commit is contained in:
曹前明 2022-07-13 17:10:14 +08:00
parent 9a7f02feb7
commit 2302921c08
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ def visit_audit_end(ticket):
ep.name = visitor.name
ep.phone = visitor.phone
ep.photo = visitor.photo
ep.type = 'visitor'
ep.save()
visitor.employee = ep
visitor.visit = visit # 更新当前所属访客项目