|
|
@ -478,12 +478,7 @@ |
|
|
|
" |
|
|
|
> |
|
|
|
<el-form-item label="检验值" required> |
|
|
|
<el-input-number |
|
|
|
v-model="cur.inspectionValue" |
|
|
|
:min="0" |
|
|
|
@change="inspectionValueInput(item, cur)" |
|
|
|
@blur="inspectionValueInput(item, cur)" |
|
|
|
/> |
|
|
|
<el-input v-model="cur.inspectionValue" placeholder="请输入检验值" @input="inputChange($event,cur)" @blur="inspectionValueInput(item, cur)" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col |
|
|
@ -1418,6 +1413,9 @@ const boxList = ref() |
|
|
|
// mianscroll.value.scrollTo({ top: boxList.value.clientHeight + 550, behavior: 'smooth' }) |
|
|
|
// }) |
|
|
|
// } |
|
|
|
const inputChange = (val,cur) => { |
|
|
|
cur.inspectionValue = cur.inspectionValue.replace(/[^0-9.]/g, '') |
|
|
|
} |
|
|
|
const inspectionValueInput = (item, cur) => { |
|
|
|
for ( |
|
|
|
let i = 0; |
|
|
@ -1528,6 +1526,13 @@ const inspectionValueInput = (item, cur) => { |
|
|
|
.inspectionValue |
|
|
|
) < parseFloat(item.inspectionJobCharacteristicsUpdateReqVO.quantifyLowlimit)) |
|
|
|
) { |
|
|
|
console.log(parseFloat( |
|
|
|
item.inspectionJobCharacteristicsUpdateReqVO.recordInspectionQuantifyList[i] |
|
|
|
.inspectionValue |
|
|
|
)) |
|
|
|
console.log( parseFloat(item.inspectionJobCharacteristicsUpdateReqVO.quantifyLowlimit)) |
|
|
|
console.log( parseFloat(item.inspectionJobCharacteristicsUpdateReqVO.quantifyCapping)) |
|
|
|
console.log(333) |
|
|
|
item.isPass = false |
|
|
|
return |
|
|
|
} |
|
|
|