Merge remote-tracking branch 'origin/feature_add_down_payment' into feature/uat-tmp
Showing
1 changed file
with
10 additions
and
7 deletions
| ... | @@ -885,18 +885,21 @@ class BSWorkbook(Workbook): | ... | @@ -885,18 +885,21 @@ class BSWorkbook(Workbook): |
| 885 | # 如果 down_payment_dict 不为空, 则创建sheet | 885 | # 如果 down_payment_dict 不为空, 则创建sheet |
| 886 | ws = self.create_sheet(consts.DOWN_PAYMENT_SHEET_NAME) | 886 | ws = self.create_sheet(consts.DOWN_PAYMENT_SHEET_NAME) |
| 887 | english_chinese_dict = { | 887 | english_chinese_dict = { |
| 888 | "financial_org_name": "金融机构名称", | 888 | "financial_org_name": "渠道", |
| 889 | "main_borrower_name": "主借人姓名", | 889 | "main_borrower_name": "姓名", |
| 890 | "main_borrower_id_no": "主借人证件号码", | 890 | "main_borrower_id_no": "证件号码", |
| 891 | "apply_no": "申请编号", | 891 | "apply_no": "合同编号", |
| 892 | "contract_name": "抵押/租赁合同名称", | 892 | "contract_name": "合同名称", |
| 893 | "promisor_signature": "承诺人签字", | 893 | "promisor_signature": "承诺人签字-电子", |
| 894 | "promisor_signature_date": "承诺人签字日期" | 894 | "promisor_signature_date": "承诺人签字日期-电子" |
| 895 | } | 895 | } |
| 896 | for dp_key, dp_value in down_payment_dict.items(): | 896 | for dp_key, dp_value in down_payment_dict.items(): |
| 897 | if dp_key in english_chinese_dict.keys(): | 897 | if dp_key in english_chinese_dict.keys(): |
| 898 | row = [english_chinese_dict[dp_key], str(dp_value)] | 898 | row = [english_chinese_dict[dp_key], str(dp_value)] |
| 899 | ws.append(row) | 899 | ws.append(row) |
| 900 | else: | ||
| 901 | row = [english_chinese_dict[dp_key], ""] | ||
| 902 | ws.append(row) | ||
| 900 | 903 | ||
| 901 | @staticmethod | 904 | @staticmethod |
| 902 | def remove_yuan(amount_key_set, key, src_str): | 905 | def remove_yuan(amount_key_set, key, src_str): | ... | ... |
-
Please register or sign in to post a comment