不合格项复检bug

This commit is contained in:
caozehui
2025-05-09 08:51:54 +08:00
parent b3750d6a7f
commit bb35eb749b
3 changed files with 8 additions and 7 deletions

View File

@@ -952,11 +952,12 @@ const handleTest = async (val: string) => {
})
.then(() => {
ElMessage.success('不合格项复检')
if (checkStore.devices.length > 1) {
checkStore.setReCheckType(1)
} else {
checkStore.setReCheckType(0)
}
// if (checkStore.devices.length > 1) {
// checkStore.setReCheckType(1)
// } else {
// checkStore.setReCheckType(0)
// }
checkStore.setReCheckType(0)
selectTestItemPopupRef.value?.open()
})
.catch((action: Action) => {