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
ff1645f6
Commit
ff1645f6
authored
Apr 19, 2024
by
Hagsn3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
ba8fa7da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
67 additions
and
36 deletions
+67
-36
checkTheApplicationForExit.vue
src/views/setup/checkTheApplicationForExit.vue
+67
-29
inspectionRequestProcessing.vue
src/views/setup/inspectionRequestProcessing.vue
+0
-7
No files found.
src/views/setup/checkTheApplicationForExit.vue
View file @
ff1645f6
...
...
@@ -4,7 +4,7 @@
<el-form
ref=
"searchRef"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
class=
"formClass"
label-position=
"right"
>
<div
class=
"searchDiv"
>
<el-form-item
label=
"ptype:"
>
<!--
<span>
{{
form
.
ptype
&&
getDictLabelByValue
(
typeList
,
form
.
ptype
.
trim
())
||
'-'
}}
</span>
-->
<!--
<span>
{{
form
.
ptype
&&
getDictLabelByValue
(
typeList
,
form
.
ptype
.
trim
())
||
'-'
}}
</span>
-->
<span
v-if=
"form.ptype === '1'"
>
jb
</span>
<span
v-else-if=
"form.ptype === '20'"
>
jl
</span>
<span
v-else
>
-
</span>
...
...
@@ -345,37 +345,75 @@ export default {
rank
:
values
[
2
]
}
console
.
log
(
obj
)
if
(
obj
.
pn
!==
this
.
form
.
pn
||
obj
.
lot
!==
this
.
form
.
lot
)
{
playAudio
(
true
)
this
.
$message
.
error
({
message
:
'输入不符合要求请重新输入!'
,
duration
:
2000
,
onClose
:
()
=>
{
playAudio
(
false
)
/** ptyp为1的时候*/
if
(
this
.
form
.
ptype
===
'1'
)
{
if
(
obj
.
pn
!==
this
.
form
.
pn
||
obj
.
lot
!==
this
.
form
.
lot
||
obj
.
rank
!==
this
.
form
.
rank
)
{
playAudio
(
true
)
this
.
$message
.
error
({
message
:
'输入不符合要求请重新输入!'
,
duration
:
2000
,
onClose
:
()
=>
{
playAudio
(
false
)
}
})
this
.
searchForm
.
value2
=
null
}
else
{
// 获取LOT输入框的数据
this
.
lot
=
obj
.
lot
var
lot
=
this
.
lot
var
search
=
this
.
search
// 调用方法,并传入位置和LOT作为参数
const
abj
=
this
.
getIndexAndNeedNumber
(
search
,
lot
)
if
(
abj
)
{
const
{
index
,
needNumber
}
=
abj
if
(
!
this
.
rowIndexList
.
includes
(
index
))
{
successAudio
(
true
)
this
.
rowIndexList
.
push
(
index
)
this
.
search
=
null
this
.
lot
=
null
}
this
.
$nextTick
().
then
(()
=>
{
this
.
$refs
.
input1
.
focus
()
})
this
.
total
=
this
.
total
+
needNumber
this
.
searchForm
.
search
=
''
this
.
searchForm
.
value2
=
''
// 清空LOT输入框数据
}
})
this
.
searchForm
.
value2
=
null
}
}
else
{
// 获取LOT输入框的数据
this
.
lot
=
obj
.
lot
var
lot
=
this
.
lot
var
search
=
this
.
search
// 调用方法,并传入位置和LOT作为参数
const
abj
=
this
.
getIndexAndNeedNumber
(
search
,
lot
)
if
(
abj
)
{
const
{
index
,
needNumber
}
=
abj
if
(
!
this
.
rowIndexList
.
includes
(
index
))
{
successAudio
(
true
)
this
.
rowIndexList
.
push
(
index
)
this
.
search
=
null
this
.
lot
=
null
}
this
.
$nextTick
().
then
(()
=>
{
this
.
$refs
.
input1
.
focus
()
// ptype不为1的时候
if
(
obj
.
pn
!==
this
.
form
.
pn
||
obj
.
lot
!==
this
.
form
.
lot
)
{
playAudio
(
true
)
this
.
$message
.
error
({
message
:
'输入不符合要求请重新输入!'
,
duration
:
2000
,
onClose
:
()
=>
{
playAudio
(
false
)
}
})
this
.
total
=
this
.
total
+
needNumber
this
.
searchForm
.
search
=
''
this
.
searchForm
.
value2
=
''
// 清空LOT输入框数据
this
.
searchForm
.
value2
=
null
}
else
{
// 获取LOT输入框的数据
this
.
lot
=
obj
.
lot
const
lot
=
this
.
lot
const
search
=
this
.
search
// 调用方法,并传入位置和LOT作为参数
const
abj
=
this
.
getIndexAndNeedNumber
(
search
,
lot
)
if
(
abj
)
{
const
{
index
,
needNumber
}
=
abj
if
(
!
this
.
rowIndexList
.
includes
(
index
))
{
successAudio
(
true
)
this
.
rowIndexList
.
push
(
index
)
this
.
search
=
null
this
.
lot
=
null
}
this
.
$nextTick
().
then
(()
=>
{
this
.
$refs
.
input1
.
focus
()
})
this
.
total
=
this
.
total
+
needNumber
this
.
searchForm
.
search
=
''
this
.
searchForm
.
value2
=
''
// 清空LOT输入框数据
}
}
}
}
...
...
src/views/setup/inspectionRequestProcessing.vue
View file @
ff1645f6
...
...
@@ -112,13 +112,6 @@ export default {
// 获取申请分类的数量
getTabList
()
{
querykindsNumber
().
then
(
res
=>
{
// const tabArray = [{ type: '1', number: 0 }, { type: '20', number: 0 }]
// if (res.code === 200) {
// for (let a = 0; a
<
res
.
data
.
length
;
a
++
)
{
// if (res.data[a].type == '1') { tabArray[0].number = res.data[a].number }
// if (res.data[a].type == '20') { tabArray[1].number = res.data[a].number }
// }
// this.tabList = tabArray
console
.
log
(
'得到的标签'
,
res
)
this
.
tabList
=
res
.
data
console
.
log
(
'检查列表'
,
this
.
tabList
)
...
...
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