| | |
| | | return; |
| | | } |
| | | |
| | | if (this.formData.fcheckResu >= this.formData.minValue && this.formData.fcheckResu <= this.formData |
| | | .maxValue) { |
| | | let checkValue = Number(this.formData.fcheckResu); |
| | | let minValue = Number(this.formData.minValue); |
| | | let maxValue = Number(this.formData.maxValue); |
| | | |
| | | if (isNaN(checkValue) || isNaN(minValue) || isNaN(maxValue)) { |
| | | this.$showMessage("检验值或范围值格式不正确,请检查输入"); |
| | | return; |
| | | } |
| | | |
| | | if (checkValue >= minValue && checkValue <= maxValue) { |
| | | fstand = "√" |
| | | } else { |
| | | fstand = "×"; |
| | |
| | | return; |
| | | } |
| | | |
| | | if (this.editData.fcheckResu >= this.formData.minValue && this.editData.fcheckResu <= this.formData |
| | | .maxValue) { |
| | | let checkValue = Number(this.editData.fcheckResu); |
| | | let minValue = Number(this.formData.minValue); |
| | | let maxValue = Number(this.formData.maxValue); |
| | | |
| | | if (isNaN(checkValue) || isNaN(minValue) || isNaN(maxValue)) { |
| | | this.$showMessage("检验值或范围值格式不正确,请检查输入"); |
| | | return; |
| | | } |
| | | |
| | | if (checkValue >= minValue && checkValue <= maxValue) { |
| | | this.editData.isPass = 1 |
| | | } else { |
| | | this.editData.isPass = 0 |