Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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_vue
Commits
6bd0108b
Commit
6bd0108b
authored
Mar 08, 2024
by
Hagsn3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
f44d6e1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
9 deletions
+40
-9
checkList.vue
src/views/checkList.vue
+40
-9
No files found.
src/views/checkList.vue
View file @
6bd0108b
...
...
@@ -531,13 +531,15 @@
/>
</el-form-item>
<el-form-item
class=
"emptyInput"
/>
<el-form-item
label=
"cyPn:"
class=
"inspectJbAlInputBody"
>
<el-input
v-model=
"inspectJbAl2o3List.cyPn"
<span
:disabled=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"
class=
"inspectJbAlInput"
/>
>
{{
inspectJbAl2o3List
.
cyPn
}}
</span>
</el-form-item>
<el-form-item
class=
"emptyInput"
/>
<el-form-item
class=
"emptyInput"
/>
...
...
@@ -663,7 +665,8 @@
<el-form-item
label=
"检验结果:"
>
<div
v-if=
"((controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' ))"
|| (controlsForm.controls == '3' && controlsForm.approveStatus === '1')
|| (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' ))"
>
<span
:class=
"radioTextClass"
>
{{
radioText
}}
</span>
</div>
...
...
@@ -942,7 +945,7 @@ export default {
wxPn
:
'5'
,
wxRes
:
'1'
,
cyN
:
'5'
,
cyPn
:
'
5
'
,
cyPn
:
''
,
cyRes
:
'1'
,
finalRes
:
'1'
,
noProject
:
'5'
,
...
...
@@ -1041,6 +1044,7 @@ export default {
this
.
resetRecord
()
this
.
judgmentParam
()
this
.
getJcCode
()
this
.
handleCyPn
()
},
methods
:
{
// 校验方法1
...
...
@@ -1067,11 +1071,38 @@ export default {
}
},
handleCyPn
()
{
this
.
inspectJbAl2o3List
.
cyPn
=
const
standard
=
!
isNaN
(
Number
(
this
.
inspectJbAl2o3List
.
wgKx
)
+
this
.
inspectJbAl2o3List
.
wgLlw
+
this
.
inspectJbAl2o3List
.
wgWlw
+
this
.
inspectJbAl2o3List
.
wgJbwq
+
this
.
inspectJbAl2o3List
.
wgZk
+
this
.
inspectJbAl2o3List
.
wgSh
+
this
.
inspectJbAl2o3List
.
wgBm
+
this
.
inspectJbAl2o3List
.
wgTc
+
this
.
inspectJbAl2o3List
.
wgQg
+
this
.
inspectJbAl2o3List
.
wgCq
+
this
.
inspectJbAl2o3List
.
wgFf
+
this
.
inspectJbAl2o3List
.
wgTf
Number
(
this
.
inspectJbAl2o3List
.
wgLlw
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgWlw
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgJbwq
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgZk
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgSh
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgBm
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgTc
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgQg
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgCq
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgFf
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgTf
)
)
if
(
standard
)
{
this
.
inspectJbAl2o3List
.
cyPn
=
Number
(
this
.
inspectJbAl2o3List
.
wgKx
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgLlw
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgWlw
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgJbwq
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgZk
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgSh
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgBm
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgTc
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgQg
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgCq
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgFf
)
+
Number
(
this
.
inspectJbAl2o3List
.
wgTf
)
}
else
{
this
.
$message
.
error
(
'请输入有效的数值'
)
}
console
.
log
(
'cyPn:'
,
this
.
inspectJbAl2o3List
.
cyPn
)
},
/* 动态获取css的颜色*/
...
...
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