2021/3/3
parent
d719e95ab0
commit
25a96729ae
|
@ -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
|
||||
|
|
|
@ -7,6 +7,7 @@ from core import utilities
|
|||
from decimal import Decimal
|
||||
import excelexporters.shopfloorload
|
||||
|
||||
|
||||
class Reporting:
|
||||
@staticmethod
|
||||
def __init__():
|
||||
|
|
Loading…
Reference in New Issue