EricGEGE commited on
Commit
cc9c82a
·
verified ·
1 Parent(s): e8f1ece

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -75,9 +75,9 @@ def approve_order(order_id, approver_role):
75
  for order_index in order_indexes:
76
  current_status = order_records[order_index]['审批状态']
77
 
78
- if (current_status == '待单证审批' and approver_role = '单证') or \
79
- (current_status == '待财务审批' and approver_role = '财务') or \
80
- (current_status == '待总经理审批' and approver_role = '总经理'):
81
 
82
  next_status = get_next_approval_status(current_status)
83
  headers = list(order_records[0].keys())
 
75
  for order_index in order_indexes:
76
  current_status = order_records[order_index]['审批状态']
77
 
78
+ if (current_status == '待单证审批' and approver_role == '单证') or \
79
+ (current_status == '待财务审批' and approver_role == '财务') or \
80
+ (current_status == '待总经理审批' and approver_role == '总经理'):
81
 
82
  next_status = get_next_approval_status(current_status)
83
  headers = list(order_records[0].keys())