Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_pda_Web
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_pda_Web
Commits
4aa94a16
Commit
4aa94a16
authored
May 22, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.默认将小写字母换成大写字母
parent
cda88459
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
common.js
src/utils/common.js
+1
-1
checkTheApplicationForExit.vue
src/views/setup/checkTheApplicationForExit.vue
+1
-1
enterbound.vue
src/views/setup/enterbound.vue
+1
-1
No files found.
src/utils/common.js
View file @
4aa94a16
...
...
@@ -211,6 +211,6 @@ export function successAudio(start) {
// 自定义转换成大写的
export
function
customUpperCase
(
sourceStr
)
{
return
sourceStr
&&
sourceStr
!==
''
?
sourceStr
.
toUpperCase
:
sourceStr
return
sourceStr
&&
sourceStr
!==
''
?
sourceStr
.
toUpperCase
()
:
sourceStr
}
src/views/setup/checkTheApplicationForExit.vue
View file @
4aa94a16
...
...
@@ -187,7 +187,7 @@ export default {
var
list
=
[]
// 判断tableList中location和search及lot相同的元素个数
this
.
tableList
.
forEach
((
item
,
index
)
=>
{
if
(
customUpperCase
(
item
.
location
)
===
customUpperCase
(
search
)
&&
customUpperCase
(
item
.
lot
)
===
customUpperCase
(
lot
)
()
)
{
if
(
customUpperCase
(
item
.
location
)
===
customUpperCase
(
search
)
&&
customUpperCase
(
item
.
lot
)
===
customUpperCase
(
lot
))
{
list
.
push
(
index
)
}
})
...
...
src/views/setup/enterbound.vue
View file @
4aa94a16
...
...
@@ -459,7 +459,7 @@ export default {
// this.incomeWmsBoxList.pn = values[1]
if
(
obj
.
labelId
!==
null
&&
obj
.
labelId
!==
''
&&
obj
.
labelId
!==
undefined
)
{
if
(
this
.
incomeWmsLabelList
.
pn
&&
this
.
incomeWmsLabelList
.
pn
!==
''
&&
this
.
incomeWmsLabelList
.
pn
!==
undefined
)
{
if
(
customUpperCase
(
obj
.
pn
)
!==
customUpperCase
(
this
.
incomeWmsLabelList
.
pn
))
{
if
(
customUpperCase
(
obj
.
pn
)
!==
customUpperCase
(
this
.
incomeWmsLabelList
.
pn
))
{
playAudio
(
true
)
this
.
$message
.
error
({
message
:
'输入的pn值:'
+
obj
.
pn
+
'与数据库中pn值:'
+
this
.
incomeWmsLabelList
.
pn
+
'不匹配,请重新输入'
,
...
...
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