|
|
@ -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' |
|
|
|
} |
|
|
|
) |
|
|
|
// 参数整理 |
|
|
|