Browse Source

收件检验合格数量显示问题

linshi20240813
zhang_li 3 months ago
parent
commit
acc1296632
  1. 7
      src/views/qms/inspectionJob/addForm.vue
  2. 28
      src/views/qms/inspectionRecordFirst/addForm.vue

7
src/views/qms/inspectionJob/addForm.vue

@ -773,12 +773,7 @@ const open = async (type: string, row?: any, masterParmas?: any, titleName?: any
inspectionValue: '', //
qualitativeCode: '', //
defectLevel: '', //
qualifiedQuantity: parseFloat(
(
parseFloat(item.inspectionJobCharacteristicsUpdateReqVO.sampleQty) *
parseFloat(item.inspectionJobCharacteristicsUpdateReqVO.samplePieceSize)
).toFixed(6)
), //
qualifiedQuantity:parseFloat(item.inspectionJobCharacteristicsUpdateReqVO.sampleQty), //
unqualifiedQuantity: '0' //
})
}

28
src/views/qms/inspectionRecordFirst/addForm.vue

@ -257,7 +257,7 @@
<el-input
v-model="data.samplePieceSize"
disabled
placeholder="请输入样品份数"
placeholder="请输入每份样品量"
/>
</div>
</el-form-item>
@ -842,12 +842,7 @@ const processList = async (InspectionSchemeObj, list) => {
inspectionValue: '', //
qualitativeCode: '', //
defectLevel: '', //
qualifiedQuantity: parseFloat(
(
parseFloat(item.samplingProcessRespVO.sampleQty) *
parseFloat(InspectionSchemeObj.samplePieceSize)
).toFixed(6)
), //
qualifiedQuantity:parseFloat(item.samplingProcessRespVO.sampleQty), //
unqualifiedQuantity: '0' //
})
}
@ -1250,12 +1245,7 @@ const searchTableSuccess = async (formField, searchField, val, type, row) => {
inspectionValue: '', //
qualitativeCode: '', //
defectLevel: '', //
qualifiedQuantity: parseFloat(
(
parseFloat(item.samplingProcessRespVO.sampleQty) *
parseFloat(InspectionSchemeObj.samplePieceSize)
).toFixed(6)
), //
qualifiedQuantity: parseFloat(item.samplingProcessRespVO.sampleQty), //
unqualifiedQuantity: '0' //
})
}
@ -1329,12 +1319,7 @@ const searchTableSuccess = async (formField, searchField, val, type, row) => {
inspectionValue: '', //
qualitativeCode: '', //
defectLevel: '', //
qualifiedQuantity: parseFloat(
(
parseFloat(item.samplingProcessRespVO.sampleQty) *
parseFloat(InspectionSchemeObj.samplePieceSize)
).toFixed(6)
), //
qualifiedQuantity: parseFloat(item.samplingProcessRespVO.sampleQty), //
unqualifiedQuantity: '0' //
})
}
@ -1560,11 +1545,6 @@ const onItemBlur = async (field, pageApi) => {
column: 'code',
action: '==',
value: data.value[field]?.trim()
},
{
column: 'status',
action: 'in',
value: 'ENABLE'
}
)
//

Loading…
Cancel
Save