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
ad0aee66
Commit
ad0aee66
authored
Apr 15, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.导入
parent
492ff5b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
templateFirst.vue
src/views/template/templateFirst.vue
+3
-2
No files found.
src/views/template/templateFirst.vue
View file @
ad0aee66
...
...
@@ -3491,7 +3491,8 @@ export default {
this
.
inspectJbAl2o3List
.
recode1
[
index
+
1
].
differenceValue
=
this
.
digitalFormat
(
Math
.
abs
(
num1
-
num2
).
toFixed
(
this
.
LIMITNGHOURS
))
this
.
inspectJbAl2o3List
.
recode1
[
index
+
1
].
differenceValue1
=
this
.
digitalFormat
(((
num1
+
num2
)
/
2
).
toFixed
(
this
.
LIMITNGHOURS
))
if
(
this
.
inspectJbAl2o3List
.
standonePx
&&
this
.
inspectJbAl2o3List
.
standonePx
!=
''
)
{
if
(
this
.
inspectJbAl2o3List
.
recode1
[
index
+
1
].
differenceValue
>
this
.
inspectJbAl2o3List
.
standonePx
)
{
console
.
log
(
'差值'
,
Math
.
abs
(
this
.
inspectJbAl2o3List
.
recode1
[
index
+
1
].
differenceValue
))
if
(
Math
.
abs
(
this
.
inspectJbAl2o3List
.
recode1
[
index
+
1
].
differenceValue
)
>
this
.
inspectJbAl2o3List
.
standonePx
)
{
this
.
inspectJbAl2o3List
.
recode1
[
index
+
1
].
differenceValue3
=
'不合格'
}
else
{
this
.
inspectJbAl2o3List
.
recode1
[
index
+
1
].
differenceValue3
=
'合格'
...
...
@@ -3515,7 +3516,7 @@ export default {
this
.
inspectJbAl2o3List
.
recode1
[
index
].
differenceValue
=
this
.
digitalFormat
(
Math
.
abs
(
num1
-
num2
).
toFixed
(
this
.
LIMITNGHOURS
))
this
.
inspectJbAl2o3List
.
recode1
[
index
].
differenceValue1
=
this
.
digitalFormat
(((
num1
+
num2
)
/
2
).
toFixed
(
this
.
LIMITNGHOURS
))
if
(
this
.
inspectJbAl2o3List
.
standonePx
&&
this
.
inspectJbAl2o3List
.
standonePx
!=
''
)
{
if
(
this
.
inspectJbAl2o3List
.
recode1
[
index
].
differenceValue
>
this
.
inspectJbAl2o3List
.
standonePx
)
{
if
(
Math
.
abs
(
this
.
inspectJbAl2o3List
.
recode1
[
index
].
differenceValue
)
>
this
.
inspectJbAl2o3List
.
standonePx
)
{
this
.
inspectJbAl2o3List
.
recode1
[
index
].
differenceValue3
=
'不合格'
}
else
{
this
.
inspectJbAl2o3List
.
recode1
[
index
].
differenceValue3
=
'合格'
...
...
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