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
617e8a4e
authored
2023-02-21 17:14:56 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
MOD:pos 解抵押
1 parent
e4c76d1f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
src/pos/views.py
src/pos/views.py
View file @
617e8a4
...
...
@@ -94,12 +94,17 @@ class DeMortgageView(GenericView):
'applicationName'
:
application_name
,
'deMortgageDate'
:
de_mortgage_date
}
de_mortgage_info
=
{}
de_mortgage_info
de_mortgage_info
=
{
'customer_name'
:
''
,
'applicationName'
:
''
,
'deMortgageDate'
:
''
}
# 绿本必须分开ocr
for
file_obj
in
files
:
info
=
PosHandler
.
de_mortgage_ocr_process1
(
file_obj
)
de_mortgage_info
.
update
(
info
)
if
info
.
get
(
'customerName'
)
is
not
''
:
de_mortgage_info
[
'customerName'
]
=
info
.
get
(
'customerName'
)
if
info
.
get
(
'applicationName'
)
is
not
''
:
de_mortgage_info
[
'applicationName'
]
=
info
.
get
(
'applicationName'
)
if
info
.
get
(
'deMortgageDate'
)
is
not
''
:
de_mortgage_info
[
'deMortgageDate'
]
=
info
.
get
(
'deMortgageDate'
)
#de_mortgage_info.update(info)
request_pass
=
True
fields_result
=
[]
...
...
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