Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
data_report
/
data-report
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 38e3546a
authored
Nov 06, 2026
by
周立明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
北汽结果表 品牌汇总显示问题修复
1 parent
c7455f50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
data-process/baic_special_processor.py
data-process/outputs/baic_special_2026-10_task900032.xlsx
data-process/baic_special_processor.py
View file @
38e3546
...
@@ -1901,7 +1901,7 @@ class BaicSpecialProcessor:
...
@@ -1901,7 +1901,7 @@ class BaicSpecialProcessor:
lbl
=
ws
.
cell
(
cur_month_row
,
1
)
.
value
lbl
=
ws
.
cell
(
cur_month_row
,
1
)
.
value
if
lbl
and
'本月'
in
str
(
lbl
):
if
lbl
and
'本月'
in
str
(
lbl
):
ws
.
cell
(
cur_month_row
,
1
)
.
value
=
re
.
sub
(
ws
.
cell
(
cur_month_row
,
1
)
.
value
=
re
.
sub
(
r'本月\s*\
S*
'
,
f
'本月 {month_label}'
,
str
(
lbl
))
r'本月\s*\
d+月
'
,
f
'本月 {month_label}'
,
str
(
lbl
))
data_row
=
cur_month_row
+
2
data_row
=
cur_month_row
+
2
_set_cell
(
ws
,
data_row
,
1
,
'北汽'
)
# 项目
_set_cell
(
ws
,
data_row
,
1
,
'北汽'
)
# 项目
_set_cell
(
ws
,
data_row
,
2
,
'极狐/越野'
)
# 品牌(北汽极狐 + 北京越野 固定汇总显示)
_set_cell
(
ws
,
data_row
,
2
,
'极狐/越野'
)
# 品牌(北汽极狐 + 北京越野 固定汇总显示)
...
@@ -2000,7 +2000,7 @@ class BaicSpecialProcessor:
...
@@ -2000,7 +2000,7 @@ class BaicSpecialProcessor:
lbl
=
ws
.
cell
(
cur_prev_row
,
1
)
.
value
lbl
=
ws
.
cell
(
cur_prev_row
,
1
)
.
value
if
lbl
and
'上月'
in
str
(
lbl
):
if
lbl
and
'上月'
in
str
(
lbl
):
ws
.
cell
(
cur_prev_row
,
1
)
.
value
=
re
.
sub
(
ws
.
cell
(
cur_prev_row
,
1
)
.
value
=
re
.
sub
(
r'上月\s*\
S*
'
,
f
'上月 {prev_month_label}'
,
str
(
lbl
))
r'上月\s*\
d+月
'
,
f
'上月 {prev_month_label}'
,
str
(
lbl
))
_p_row
=
cur_prev_row
+
2
_p_row
=
cur_prev_row
+
2
# 上月段:整列去掉 4 个环比列(表头+数据),本月段不变(用户 2026-11-04)
# 上月段:整列去掉 4 个环比列(表头+数据),本月段不变(用户 2026-11-04)
_p_hdr
=
cur_prev_row
+
1
_p_hdr
=
cur_prev_row
+
1
...
...
data-process/outputs/baic_special_2026-10_task900032.xlsx
View file @
38e3546
No preview for this file type
Write
Preview
Markdown
is supported
Attach a file
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 post a comment