378c0824 by chenyao

更改excel中字段的名称

1 parent 0a33cf85
......@@ -885,13 +885,13 @@ class BSWorkbook(Workbook):
# 如果 down_payment_dict 不为空, 则创建sheet
ws = self.create_sheet(consts.DOWN_PAYMENT_SHEET_NAME)
english_chinese_dict = {
"financial_org_name": "金融机构名称",
"main_borrower_name": "主借人姓名",
"main_borrower_id_no": "主借人证件号码",
"apply_no": "申请编号",
"contract_name": "抵押/租赁合同名称",
"promisor_signature": "承诺人签字",
"promisor_signature_date": "承诺人签字日期"
"financial_org_name": "渠道",
"main_borrower_name": "姓名",
"main_borrower_id_no": "证件号码",
"apply_no": "合同编号",
"contract_name": "合同名称",
"promisor_signature": "承诺人签字-电子",
"promisor_signature_date": "承诺人签字日期-电子"
}
for dp_key, dp_value in down_payment_dict.items():
if dp_key in english_chinese_dict.keys():
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!