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
cc8a3d91
authored
2021-02-08 10:26:46 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
7b977821
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
src/apps/doc/consts.py
src/apps/doc/consts.py
View file @
cc8a3d9
...
...
@@ -296,6 +296,7 @@ HEADERS_MAPPING.update(
HEADERS_MAPPING
.
update
(
{
'联机余额'
:
OVER_KEY
,
'联机金额'
:
OVER_KEY
,
}
)
# 竖版-无表格-邮储银行-账户对账单 含有对手方户名 对手方账户
...
...
@@ -966,11 +967,11 @@ WECHART_HEADERS_MAPPING.update(
}
)
PATTERN_LIST
=
[
'
交易名称'
,
'收入/支出金额'
,
'收入'
,
'存入'
,
'支出'
,
'支取'
,
'金额'
,
'余额'
,
'发生额'
,
'借贷'
,
'借贷状态'
,
'收支标志
'
,
'
收/支'
,
'收入金额'
,
'存入金额(贷)'
,
'存入金额(贷)'
,
'支出金额'
,
'支取金额(借)'
,
'支取金额(借)'
,
'记账日期
'
,
'
交易日期'
,
'摘要'
,
'业务摘要'
,
'工作日期'
,
'交易金额'
,
'账户余额'
,
'交易类型'
,
'金额(元)'
,
'金额(元)'
,
'时间
'
,
'
名称/备注'
,
'摘要/附言'
,
'交易发生额'
,
'交易摘要'
,
'借贷发生额(借:-贷:+)'
,
'借贷发生额(借:-贷:+)'
,
'联机余额
'
,
'
交易金额(元)'
,
'交易金额(元)'
,
'账户余额(元)'
,
'账户余额(元)'
,
'会计日期'
,
'摘要代码'
,
'摘要信息'
,
'
日期'
,
'短摘要'
,
'本次余额'
,
'交易后余额'
,
'交易说明'
,
'帐户余额'
,
'交易日期 记账日期'
]
PATTERN_LIST
=
[
'
联机金额'
,
'交易名称'
,
'收入/支出金额'
,
'收入'
,
'存入'
,
'支出'
,
'支取'
,
'金额'
,
'余额'
,
'发生额'
,
'借贷
'
,
'
借贷状态'
,
'收支标志'
,
'收/支'
,
'收入金额'
,
'存入金额(贷)'
,
'存入金额(贷)'
,
'支出金额'
,
'支取金额(借)
'
,
'
支取金额(借)'
,
'记账日期'
,
'交易日期'
,
'摘要'
,
'业务摘要'
,
'工作日期'
,
'交易金额'
,
'账户余额'
,
'交易类型
'
,
'
金额(元)'
,
'金额(元)'
,
'时间'
,
'名称/备注'
,
'摘要/附言'
,
'交易发生额'
,
'交易摘要'
,
'借贷发生额(借:-贷:+)
'
,
'
借贷发生额(借:-贷:+)'
,
'联机余额'
,
'交易金额(元)'
,
'交易金额(元)'
,
'账户余额(元)'
,
'账户余额(元)'
,
'会计
日期'
,
'
摘要代码'
,
'摘要信息'
,
'日期'
,
'
短摘要'
,
'本次余额'
,
'交易后余额'
,
'交易说明'
,
'帐户余额'
,
'交易日期 记账日期'
]
CN_RE
=
re
.
compile
(
u'[
\u4e00
-
\u9fa5
]'
)
...
...
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