Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨硕
template_vue
Commits
de8c62d1
Commit
de8c62d1
authored
Apr 08, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加字段lot
parent
d39a4e31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
index.vue
src/views/sample/chCheckOrder/index.vue
+7
-1
No files found.
src/views/sample/chCheckOrder/index.vue
View file @
de8c62d1
...
...
@@ -318,6 +318,7 @@ export default {
],
// 扫描得到的数据
ocrArray
:
''
,
lot
:
''
,
// 主类型的总数据
TypeModalOptions
:
[
{
label
:
'A'
,
value
:
'A'
}
,
...
...
@@ -532,6 +533,7 @@ export default {
this
.
firstTimeSelectType
=
true
this
.
updateFlag
=
true
this
.
isUpdate
=
true
this
.
subOptions
=
[]
this
.
dialogLoading
=
true
this
.
oneKeyFlag
=
false
getDetailById
(
this
.
businessId
).
then
(
res
=>
{
...
...
@@ -569,6 +571,7 @@ export default {
chStype
:
this
.
form
.
chStype
,
chResult
:
this
.
form
.
chResult
,
chFile
:
this
.
form
.
chFile
,
lot
:
this
.
lot
,
chJson
:
JSON
.
stringify
(
data
)
}
addOcrData
(
params
).
then
(
res
=>
{
...
...
@@ -596,6 +599,7 @@ export default {
chStype
:
this
.
form
.
chStype
,
chResult
:
this
.
form
.
chResult
,
chFile
:
this
.
form
.
chFile
,
lot
:
this
.
form
.
lot
,
chJson
:
JSON
.
stringify
(
data
)
}
updateOcrData
(
params
).
then
(
res
=>
{
...
...
@@ -659,6 +663,7 @@ export default {
this
.
showModelTypeA2
=
false
this
.
firstTimeUpdate
=
false
this
.
firstTimeSelectType
=
false
this
.
subOptions
=
[]
this
.
title
=
'新增识别订单'
}
,
// 开始识别
...
...
@@ -719,7 +724,8 @@ export default {
chStype
:
this
.
form
.
chStype
}
getOcrData
(
params
).
then
(
res
=>
{
this
.
ocrArray
=
res
.
data
this
.
ocrArray
=
res
.
data
.
resultList
this
.
lot
=
res
.
data
.
lot
// 遍历this.ocrArray 将最后一项全部改为OK for循环
for
(
let
i
=
0
;
i
<
this
.
ocrArray
.
length
;
i
++
)
{
if
(
this
.
ocrArray
[
i
].
length
>
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment