| | |
| | | <view class="section"> |
| | | <view class="section-header">检验结果录入</view> |
| | | <view class="section-body"> |
| | | <view class="input-group" v-if="tableData.length >= formData.checkQyt"> |
| | | <view class="input-group" v-if="tableData.length >= formData.checkQyt && formData.fstand == null"> |
| | | <view class="input-wrapper"> |
| | | <input v-model="batchInput" type="text" class="result-input" |
| | | placeholder="格式:OK-3 或 NG-3(请勿修改结果为数字的值)" placeholder-class="placeholder" |
| | |
| | | this.$showMessage("请输入正确的检验值"); |
| | | return; |
| | | } |
| | | |
| | | |
| | | if (!/^-?\d+(\.\d+)?$/.test(this.formData.fcheckResu)) { |
| | | this.$showMessage("请输入正确的数值!"); |
| | | return; |
| | | } |
| | | if (parseFloat(this.formData.fcheckResu) >= parseFloat(this.formData.fdownAllow) && parseFloat(this |
| | | .formData |
| | | .fcheckResu) <= parseFloat(this.formData.fupAllow)) { |