Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9ab5f6e0
authored
Mar 19, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add
parent
80ed84f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
pages/tallyReceive/index.vue
pages/tallyReceive/index.vue
View file @
9ab5f6e0
...
@@ -563,20 +563,23 @@
...
@@ -563,20 +563,23 @@
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'未识别到匹配的内容'
,
title
:
'未识别到匹配的内容'
,
icon
:
'error'
icon
:
'none'
});
}
//匹配到内容才开始调接口
if
(
!
result
)
{
this
.
request
(
API
.
identifyQrCodeNumAndSn
,
'POST'
,
{
code_str
:
result
,
code_type
:
code_type
},
true
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
searchParams
.
goods_name
=
res
.
data
.
sn
;
//赋值检索出来的型号
this
.
getData
();
}
else
{
uni
.
showToast
({
title
:
'识别错误'
,
icon
:
'error'
});
}
});
});
}
}
this
.
request
(
API
.
identifyQrCodeNumAndSn
,
'POST'
,
{
code_str
:
result
,
code_type
:
code_type
},
true
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
searchParams
.
goods_name
=
res
.
data
.
sn
;
//赋值检索出来的型号
this
.
getData
();
}
else
{
uni
.
showToast
({
title
:
'识别错误'
,
icon
:
'error'
});
}
});
},
},
/**
/**
* 获取列表数据 支持分页
* 获取列表数据 支持分页
...
...
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