Commit cf7ea8d9 authored by 邱阿朋's avatar 邱阿朋

feat(app): 添加 VAT rate 字段

- 在推送数据中增加 'vat_rate' 字段,用于表示增值税税率
- 默认值为0,以确保在缺少数据时不会引发错误
parent 86d3e36f
......@@ -283,7 +283,8 @@ class Spa(AutoInterface):
'parent_id': parent_id, # sheet1 为Invoice ID 其他sheet为sheet名称
'order_no': item_row.get('Purchase Order', ""), # 订单号
'agreement_title': agreement_type,
'vat_tax': item_row.get('vat_tax', 0)
'vat_tax': item_row.get('vat_tax', 0),
'vat_rate': item_row.get("VAT rate", 0)
}
# 推送数据
rabbit.send_message(push_data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment