Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
amazon_reports
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
common
amazon_reports
Commits
cf7ea8d9
Commit
cf7ea8d9
authored
Apr 12, 2025
by
邱阿朋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(app): 添加 VAT rate 字段
- 在推送数据中增加 'vat_rate' 字段,用于表示增值税税率 - 默认值为0,以确保在缺少数据时不会引发错误
parent
86d3e36f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
spa.py
app/vc/spa.py
+2
-1
No files found.
app/vc/spa.py
View file @
cf7ea8d9
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment