|
@@ -48,16 +48,16 @@
|
|
}
|
|
}
|
|
function handleSelect() {
|
|
function handleSelect() {
|
|
getInspectionStandardsList({
|
|
getInspectionStandardsList({
|
|
- productId:processInspecion.value.lot.productId,
|
|
|
|
- processId:processInspecion.value.lot.processId,
|
|
|
|
|
|
+ productId:productId.value,
|
|
|
|
+ processId:processId.value,
|
|
inspectionCode:"instrumentRoomInspection",
|
|
inspectionCode:"instrumentRoomInspection",
|
|
standard:standard.value
|
|
standard:standard.value
|
|
}).then(res =>{
|
|
}).then(res =>{
|
|
- if(res.rows.length>0){
|
|
|
|
- unfitInfos.value = res.rows
|
|
|
|
|
|
+ if(res.rows &&res.rows.length>0){
|
|
|
|
+ optionList.value = res.rows
|
|
}
|
|
}
|
|
else{
|
|
else{
|
|
- unfitInfos.value = []
|
|
|
|
|
|
+ optionList.value = []
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|