feat: 车辆追踪隐藏BCD列(车架号/归属公司/车型)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -508,6 +508,9 @@ def write_vehicle_tracking_sheet(wb, settle_month, G, master_vehicles, vehicle_p
|
|||||||
end_row=start_rn + len(persons) - 1, end_column=pool_col)
|
end_row=start_rn + len(persons) - 1, end_column=pool_col)
|
||||||
|
|
||||||
# 列宽
|
# 列宽
|
||||||
|
# 隐藏BCD列(车架号/归属公司/车型)
|
||||||
|
for cl in ['B','C','D']:
|
||||||
|
ws.column_dimensions[cl].hidden = True
|
||||||
col_widths = {'A':12,'B':18,'C':18,'D':10,'E':18,'F':8,'G':14}
|
col_widths = {'A':12,'B':18,'C':18,'D':10,'E':18,'F':8,'G':14}
|
||||||
for cl, w in col_widths.items():
|
for cl, w in col_widths.items():
|
||||||
ws.column_dimensions[cl].width = w
|
ws.column_dimensions[cl].width = w
|
||||||
|
|||||||
Reference in New Issue
Block a user