cfe2b64f by 周伟奇

fix fill

1 parent 56281e38
......@@ -352,7 +352,9 @@ class BSWorkbook(Workbook):
tmp_ws.append((summary_cell_value, date_cell_value, amount_cell_value))
# 贷款关键词高亮
elif summary_cell_value in self.loan_keyword:
summary_cell.fill = self.loan_fill
summary_cell.fill = self.amount_fill
if amount_cell is not None:
amount_cell.fill = self.amount_fill
# 3.3.余额转数值
over_success = False
......@@ -413,6 +415,8 @@ class BSWorkbook(Workbook):
del amount_mapping
for row in amount_fill_row:
new_ws[row][amount_cell_idx].fill = self.amount_fill
if summary_cell_idx is not None:
new_ws[row][summary_cell_idx].fill = self.amount_fill
# 关键词2信息提取
ms.append(self.blank_row)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!