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
688a0086
Commit
688a0086
authored
May 21, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.阻止表单的默认上传行为
parent
a33fafb6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
checkTheApplicationForExit.vue
src/views/setup/checkTheApplicationForExit.vue
+9
-6
No files found.
src/views/setup/checkTheApplicationForExit.vue
View file @
688a0086
...
...
@@ -151,7 +151,6 @@ export default {
businessId
:
this
.
businessId
}
handleOutWarehouse
(
obj
).
then
(
res
=>
{
console
.
log
(
'res'
,
res
)
if
(
res
.
code
===
200
)
{
this
.
form
=
res
.
data
this
.
tableList
=
res
.
data
.
boxList
...
...
@@ -236,7 +235,15 @@ export default {
// 判断tableList中location和search相同的元素个数
this
.
tableList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
location
.
toUpperCase
()
===
search
.
toUpperCase
()
&&
item
.
lot
===
lot
)
{
let
oneLot
=
''
let
twoLot
=
''
if
(
item
.
lot
&&
item
.
lot
!==
''
)
{
oneLot
=
item
.
lot
.
toUpperCase
()
}
if
(
lot
&&
lot
!==
''
)
{
twoLot
=
lot
.
toUpperCase
()
}
if
(
item
.
location
.
toUpperCase
()
===
search
.
toUpperCase
()
&&
oneLot
===
twoLot
)
{
obj
.
list
.
push
(
index
)
}
})
...
...
@@ -269,7 +276,6 @@ export default {
this
.
searchForm
.
lot
=
null
return
null
}
console
.
log
(
'判断tableList中location和search相同的元素个数'
,
obj
.
list
.
length
)
}
},
...
...
@@ -295,7 +301,6 @@ export default {
this
.
search
=
this
.
searchForm
.
search
this
.
judgePush
(
this
.
search
)
}
console
.
log
(
'this.search'
,
this
.
search
)
}
})
},
...
...
@@ -428,9 +433,7 @@ export default {
businessId
:
this
.
businessId
,
boxList
:
this
.
tableList
}
console
.
log
(
'参数'
,
obj
)
persistOut
(
obj
).
then
(
res
=>
{
console
.
log
(
'res'
,
res
)
if
(
res
.
code
===
200
)
{
this
.
$router
.
push
({
path
:
'/setup/inspectionRequestProcessing'
...
...
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