Commit ad0aee66 authored by 高宇's avatar 高宇

1.导入

parent 492ff5b6
......@@ -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 = '合格'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment