pull/1/head
Caozhenhui 2021-03-03 16:04:49 +08:00
parent d719e95ab0
commit 25a96729ae
2 changed files with 28 additions and 30 deletions

View File

@ -30,7 +30,6 @@ def export(report,
if report is None:
return None
####################################################################################################################
# Step 2: Generate excel file from the report data
####################################################################################################################
@ -392,7 +391,6 @@ def generate_excel(report,
ws['B' + str(rows)].border = f_border
for index in range(0, ca_len):
col_average = chr(ord('C') + index * 2)
col_maximum = chr(ord('C') + index * 2 + 1)
@ -412,7 +410,6 @@ def generate_excel(report,
# LineChart
for i in range(0, ca_len):
lc = LineChart()
lc.title = "报告期 最大负荷"
lc.style = 10

View File

@ -7,6 +7,7 @@ from core import utilities
from decimal import Decimal
import excelexporters.shopfloorload
class Reporting:
@staticmethod
def __init__():