EricGEGE commited on
Commit
cf87532
·
verified ·
1 Parent(s): a888490

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -462,6 +462,8 @@ def num_to_chinese_upper(num_str):
462
 
463
  def format_order(order):
464
  try:
 
 
465
  return f"""
466
  <table border="1">
467
  <tr><th>审批状态</b></th><td><b>{order['审批状态']}</b></td></tr>
 
462
 
463
  def format_order(order):
464
  try:
465
+ # 将费用金额转换为中文大写
466
+ fee_amount_chinese = num_to_chinese_upper(order['费用金额'])
467
  return f"""
468
  <table border="1">
469
  <tr><th>审批状态</b></th><td><b>{order['审批状态']}</b></td></tr>