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
2a706abb
authored
2021-03-24 11:32:08 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
f476be1f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/apps/doc/views.py
src/apps/doc/views.py
View file @
2a706ab
...
...
@@ -55,7 +55,7 @@ corporate_args = {
'taxRegistrationCode'
:
fields
.
Str
(
required
=
True
,
validate
=
validate
.
Length
(
max
=
256
)),
"incorporationDate"
:
CustomDate
(
required
=
True
),
"businessLicenseDueDate"
:
CustomDate
(
required
=
True
),
"capitalRegAmount"
:
fields
.
Decimal
(
required
=
True
),
# TODO 2位小数限制
"capitalRegAmount"
:
Custom
Decimal
(
required
=
True
),
# TODO 2位小数限制
}
individual_args
=
{
...
...
@@ -68,7 +68,7 @@ individual_args = {
"idExpiryDate"
:
CustomDate
(
required
=
True
),
"dateOfBirth"
:
CustomDate
(
required
=
True
),
'companyName'
:
fields
.
Str
(
required
=
False
,
validate
=
validate
.
Length
(
max
=
256
)),
"registeredCapital"
:
fields
.
Decimal
(
required
=
False
),
"registeredCapital"
:
Custom
Decimal
(
required
=
False
),
'selfEmployedSubType'
:
fields
.
Str
(
required
=
False
,
validate
=
validate
.
OneOf
(
consts
.
SUB_TYPE
)),
}
...
...
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