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
216c3e2f
Commit
216c3e2f
authored
Mar 15, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除按钮
parent
0884688d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
templateFirst.vue
src/views/template/templateFirst.vue
+15
-10
No files found.
src/views/template/templateFirst.vue
View file @
216c3e2f
...
...
@@ -1245,7 +1245,9 @@
@
input=
"CalculateDifference"
/>
</el-form-item>
<!--
<el-form-item
label=
"差异:"
prop=
"limitThree"
>
-->
<el-form-item
label=
"差异:"
>
<span
v-if=
"inspectJbAl2o3List.limitThree"
>
{{
inspectJbAl2o3List
.
limitThree
}}
</span>
<span
v-else
></span>
<!--
<el-input-->
<!-- v-model="inspectJbAl2o3List.limitThree"-->
<!-- class="inspectionStandardsInput"-->
...
...
@@ -1253,13 +1255,13 @@
<!-- :disabled="(firstFromDisabled)"-->
<!-- @input="CalculateDifference"-->
<!-- />-->
<!--
</el-form-item>
--
>
</el-form-item
>
</el-form>
<div
class=
"inspectDifferent"
:disabled=
"(firstFromDisabled)"
@
input=
"CalculateDifference"
>
差异 :
{{
inspectJbAl2o3List
.
limitThree
}}
</div
>
<!--
<div-->
<!-- class="inspectDifferent"-->
<!-- :disabled="(firstFromDisabled)"-->
<!-- @input="CalculateDifference"-->
<!-- >差异 :
</div>
--
>
</div>
<div
class=
"recordFourTitle"
>
<div
class=
"input"
>
输入
</div>
...
...
@@ -3098,12 +3100,12 @@ export default {
for
(
let
i
=
0
;
i
<
15
;
i
++
)
{
this
.
handleData3Input
(
i
)
}
if
(
this
.
inspectJbAl2o3List
.
limitOne
!==
''
&&
this
.
inspectJbAl2o3List
.
limitTwo
!==
''
)
{
if
(
this
.
inspectJbAl2o3List
.
limitOne
&&
this
.
inspectJbAl2o3List
.
limitOne
!==
''
&&
this
.
inspectJbAl2o3List
.
limitOne
!==
undefined
&&
this
.
inspectJbAl2o3List
.
limitTwo
&&
this
.
inspectJbAl2o3List
.
limitTwo
!==
''
&&
this
.
inspectJbAl2o3List
.
limitTwo
!==
undefined
)
{
const
limitOne
=
parseFloat
(
this
.
inspectJbAl2o3List
.
limitOne
)
const
limitTwo
=
parseFloat
(
this
.
inspectJbAl2o3List
.
limitTwo
)
this
.
limitDifferenc
e
=
Math
.
abs
(
limitOne
-
limitTwo
)
this
.
inspectJbAl2o3List
.
limitThre
e
=
Math
.
abs
(
limitOne
-
limitTwo
)
}
else
{
this
.
limitDifferenc
e
=
''
this
.
inspectJbAl2o3List
.
limitThre
e
=
''
}
},
// 计算标签一的校验标准1 和 检验标准2 之间的差值
...
...
@@ -3224,6 +3226,9 @@ export default {
this
.
inspectJbAl2o3List
.
twoJcDate
=
response
.
data
.
twoJcDate
this
.
inspectJbAl2o3List
.
limitOne
=
response
.
data
.
limitOne
this
.
inspectJbAl2o3List
.
limitTwo
=
response
.
data
.
limitTwo
if
(
response
.
data
.
limitThree
===
null
)
{
response
.
data
.
limitThree
=
''
}
this
.
inspectJbAl2o3List
.
limitThree
=
response
.
data
.
limitThree
this
.
inspectJbAl2o3List
.
businessId
=
response
.
data
.
businessId
this
.
inspectJbAl2o3List
.
standardOne
=
response
.
data
.
standardOne
...
...
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