updated excel exporters of combinedequipmentenergyitem, combinedequipmentoutput, equipmentenergyitem, equipmentoutput, shopfloorenergyitem, spaceoutput, storeenergyitem and tenantenergytime

Merge branch 'PR6' into develop
pull/6/MERGE
13621160019@163.com 2021-03-10 19:00:36 +08:00
commit 6c2d66019f
8 changed files with 888 additions and 939 deletions

View File

@ -222,23 +222,6 @@ def generate_excel(report,
current_row_number += 1
# ws['B' + str(current_row_number)].font = title_font
# ws['B' + str(current_row_number)].alignment = c_c_alignment
# ws['B' + str(current_row_number)].border = f_border
# ws['B' + str(current_row_number)] = '单位面积值'
#
# col = 'C'
#
# for i in range(0, ca_len):
# ws[col + str(current_row_number)].font = name_font
# ws[col + str(current_row_number)].alignment = c_c_alignment
# ws[col + str(current_row_number)].border = f_border
# ws[col + str(current_row_number)] = round(reporting_period_data['subtotals_per_unit_area'][i], 2)
#
# col = chr(ord(col) + 1)
#
# current_row_number += 1
ws['B' + str(current_row_number)].font = title_font
ws['B' + str(current_row_number)].alignment = c_c_alignment
ws['B' + str(current_row_number)].border = f_border

View File

@ -222,23 +222,6 @@ def generate_excel(report,
current_row_number += 1
# ws['B' + str(current_row_number)].font = title_font
# ws['B' + str(current_row_number)].alignment = c_c_alignment
# ws['B' + str(current_row_number)].border = f_border
# ws['B' + str(current_row_number)] = '单位面积值'
#
# col = 'C'
#
# for i in range(0, ca_len):
# ws[col + str(current_row_number)].font = name_font
# ws[col + str(current_row_number)].alignment = c_c_alignment
# ws[col + str(current_row_number)].border = f_border
# ws[col + str(current_row_number)] = round(reporting_period_data['subtotals_per_unit_area'][i], 2)
#
# col = chr(ord(col) + 1)
#
# current_row_number += 1
ws['B' + str(current_row_number)].font = title_font
ws['B' + str(current_row_number)].alignment = c_c_alignment
ws['B' + str(current_row_number)].border = f_border

View File

@ -221,23 +221,6 @@ def generate_excel(report,
current_row_number += 1
# ws['B' + str(current_row_number)].font = title_font
# ws['B' + str(current_row_number)].alignment = c_c_alignment
# ws['B' + str(current_row_number)].border = f_border
# ws['B' + str(current_row_number)] = '单位面积值'
#
# col = 'C'
#
# for i in range(0, ca_len):
# ws[col + str(current_row_number)].font = name_font
# ws[col + str(current_row_number)].alignment = c_c_alignment
# ws[col + str(current_row_number)].border = f_border
# ws[col + str(current_row_number)] = round(reporting_period_data['subtotals_per_unit_area'][i], 2)
#
# col = chr(ord(col) + 1)
#
# current_row_number += 1
ws['B' + str(current_row_number)].font = title_font
ws['B' + str(current_row_number)].alignment = c_c_alignment
ws['B' + str(current_row_number)].border = f_border