Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
d01bc132
Commit
d01bc132
authored
Sep 22, 2022
by
季圣华
Browse files
优化单据中的商品选择框
parent
f35cbe57
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue
View file @
d01bc132
...
...
@@ -212,8 +212,16 @@
this
.
dataSource
=
res
.
rows
this
.
ipagination
.
total
=
res
.
total
if
(
res
.
total
===
1
)
{
this
.
title
=
'
选择商品【再次回车可以直接选中】
'
this
.
$nextTick
(()
=>
this
.
$refs
.
material
.
focus
());
if
(
this
.
queryParam
.
q
===
this
.
dataSource
[
0
].
mBarCode
||
this
.
queryParam
.
q
===
this
.
dataSource
[
0
].
name
||
this
.
queryParam
.
q
===
this
.
dataSource
[
0
].
standard
||
this
.
queryParam
.
q
===
this
.
dataSource
[
0
].
model
||
this
.
queryParam
.
q
===
this
.
dataSource
[
0
].
color
)
{
this
.
title
=
'
选择商品【再次回车可以直接选中】
'
this
.
$nextTick
(()
=>
this
.
$refs
.
material
.
focus
());
}
else
{
this
.
title
=
'
选择商品
'
}
}
else
{
this
.
title
=
'
选择商品
'
}
...
...
Write
Preview
Supports
Markdown
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