fix bug
Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -902,7 +902,7 @@ OTHER_CLASSIFY_SET = {OTHER_CLASSIFY} | ... | @@ -902,7 +902,7 @@ OTHER_CLASSIFY_SET = {OTHER_CLASSIFY} |
902 | LICENSE_CLASSIFY_SET_1 = {IC_CLASSIFY, VAT_CLASSIFY, MVC_CLASSIFY, MVI_CLASSIFY} | 902 | LICENSE_CLASSIFY_SET_1 = {IC_CLASSIFY, VAT_CLASSIFY, MVC_CLASSIFY, MVI_CLASSIFY} |
903 | LICENSE_CLASSIFY_SET_2 = {BL_CLASSIFY, UCI_CLASSIFY, EEP_CLASSIFY, DL_CLASSIFY, PP_CLASSIFY, BC_CLASSIFY} | 903 | LICENSE_CLASSIFY_SET_2 = {BL_CLASSIFY, UCI_CLASSIFY, EEP_CLASSIFY, DL_CLASSIFY, PP_CLASSIFY, BC_CLASSIFY} |
904 | 904 | ||
905 | NYYH_CLASSIFY = 17 | 905 | NYYH_CLASSIFY = {17, 18} |
906 | MS_CLASSIFY = 21 | 906 | MS_CLASSIFY = 21 |
907 | MS_ERROR_COL = (5, 6) | 907 | MS_ERROR_COL = (5, 6) |
908 | WECHART_CLASSIFY = 12 | 908 | WECHART_CLASSIFY = 12 | ... | ... |
... | @@ -404,7 +404,7 @@ class BSWorkbook(Workbook): | ... | @@ -404,7 +404,7 @@ class BSWorkbook(Workbook): |
404 | row_value = self.rm_cn_char(row_value, *consts.WECHART_ERROR_COL) | 404 | row_value = self.rm_cn_char(row_value, *consts.WECHART_ERROR_COL) |
405 | elif classify == consts.MS_CLASSIFY: | 405 | elif classify == consts.MS_CLASSIFY: |
406 | row_value = self.rm_cn_char(row_value, *consts.MS_ERROR_COL) | 406 | row_value = self.rm_cn_char(row_value, *consts.MS_ERROR_COL) |
407 | elif classify == consts.NYYH_CLASSIFY: | 407 | elif classify in consts.NYYH_CLASSIFY: |
408 | row_value = self.rm_second_row(row_value, amount_cell_idx, over_cell_idx) | 408 | row_value = self.rm_second_row(row_value, amount_cell_idx, over_cell_idx) |
409 | new_ws.append(row_value) | 409 | new_ws.append(row_value) |
410 | 410 | ... | ... |
-
Please register or sign in to post a comment