diff --git a/src/views/qms/inspectionJob/addForm.vue b/src/views/qms/inspectionJob/addForm.vue index 6775e1ea5..93b717cd3 100644 --- a/src/views/qms/inspectionJob/addForm.vue +++ b/src/views/qms/inspectionJob/addForm.vue @@ -478,12 +478,7 @@ " > - + { + cur.inspectionValue = cur.inspectionValue.replace(/[^0-9.]/g, '') +} const inspectionValueInput = (item, cur) => { for ( let i = 0; diff --git a/src/views/qms/inspectionRecord/addForm.vue b/src/views/qms/inspectionRecord/addForm.vue index 030c4d595..037c9456b 100644 --- a/src/views/qms/inspectionRecord/addForm.vue +++ b/src/views/qms/inspectionRecord/addForm.vue @@ -478,12 +478,7 @@ " > - + { + 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 } diff --git a/src/views/qms/inspectionRecordFirst/addForm.vue b/src/views/qms/inspectionRecordFirst/addForm.vue index d3c12f30a..ebcab9ac7 100644 --- a/src/views/qms/inspectionRecordFirst/addForm.vue +++ b/src/views/qms/inspectionRecordFirst/addForm.vue @@ -535,12 +535,7 @@ v-if="item.inspectionJobCharacteristicsUpdateReqVO.featureType == '0'" > - + { + cur.inspectionValue = cur.inspectionValue.replace(/[^0-9.]/g, '') +} const inspectionValueInput = (item, cur) => { for ( let i = 0;