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
bd43dc3a
authored
2023-02-20 16:59:05 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
FIX:nsc id 类型改为str
1 parent
76b3bbd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/pos/views.py
src/pos/views.py
View file @
bd43dc3
...
...
@@ -17,7 +17,7 @@ params = {
'invoiceNumber'
:
fields
.
Str
(
required
=
True
,
validate
=
validate
.
Length
(
max
=
64
)),
'issueDate'
:
CustomDate
(
required
=
True
),
'buyerName'
:
fields
.
Str
(
required
=
True
,
validate
=
validate
.
Length
(
max
=
64
)),
"buyerId"
:
fields
.
Int
(
required
=
True
),
"buyerId"
:
fields
.
Str
(
required
=
True
,
validate
=
validate
.
Length
(
max
=
64
)
),
'vin'
:
fields
.
Str
(
required
=
True
,
validate
=
validate
.
Length
(
max
=
128
)),
'dealer'
:
fields
.
Str
(
required
=
False
,
validate
=
validate
.
Length
(
max
=
64
)),
'priceWithVat'
:
CustomDecimal
(
required
=
True
),
...
...
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