Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
378c0824
authored
2024-12-11 18:06:20 +0800
by
chenyao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更改excel中字段的名称
1 parent
0a33cf85
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
src/apps/doc/ocr/wb.py
src/apps/doc/ocr/wb.py
View file @
378c082
...
...
@@ -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
():
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment