99390121 by 周伟奇

fix bug

1 parent fba048bf
...@@ -380,6 +380,7 @@ class BSWorkbook(Workbook): ...@@ -380,6 +380,7 @@ class BSWorkbook(Workbook):
380 if borrow_cell_value in consts.BORROW_OUTLAY_SET: 380 if borrow_cell_value in consts.BORROW_OUTLAY_SET:
381 amount_cell.value = -amount_cell.value 381 amount_cell.value = -amount_cell.value
382 amount_cell.number_format = numbers.FORMAT_NUMBER_00 382 amount_cell.number_format = numbers.FORMAT_NUMBER_00
383 if date_cell is not None:
383 same_amount_mapping = amount_mapping.get(date_cell.value, {}) 384 same_amount_mapping = amount_mapping.get(date_cell.value, {})
384 fill_rows = same_amount_mapping.get(-amount_cell.value) 385 fill_rows = same_amount_mapping.get(-amount_cell.value)
385 if fill_rows: 386 if fill_rows:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!