This commit is contained in:
caozehui
2025-08-28 10:37:50 +08:00
parent 52fcdbfe1e
commit 8b578d4d8b
5 changed files with 19 additions and 9 deletions

View File

@@ -857,7 +857,7 @@ const handleTest = async (val: string) => {
ElMessage.success('不合格项复检')
checkStore.setReCheckType(0)
// 控制是否显示温度湿度输入框
if (appSceneStore.currentScene === '0') {
if (appSceneStore.currentScene === '0' && modeStore.currentMode != '比对式') {
writeTHPopupRef.value?.open()
} else {
selectTestItemPopupRef.value?.open()
@@ -867,7 +867,7 @@ const handleTest = async (val: string) => {
if (action === 'cancel') {
ElMessage.success('全部复检')
checkStore.setReCheckType(1)
if (appSceneStore.currentScene === '0') {
if (appSceneStore.currentScene === '0'&& modeStore.currentMode != '比对式') {
writeTHPopupRef.value?.open()
} else {
selectTestItemPopupRef.value?.open()
@@ -895,7 +895,7 @@ const handleTest = async (val: string) => {
.then(() => {
ElMessage.success('不合格项复检')
checkStore.setReCheckType(0)
if (appSceneStore.currentScene === '0') {
if (appSceneStore.currentScene === '0'&& modeStore.currentMode != '比对式') {
writeTHPopupRef.value?.open()
} else {
openTestDialog(true)
@@ -905,7 +905,7 @@ const handleTest = async (val: string) => {
if (action === 'cancel') {
ElMessage.success('全部复检')
checkStore.setReCheckType(1)
if (appSceneStore.currentScene === '0') {
if (appSceneStore.currentScene === '0'&& modeStore.currentMode != '比对式') {
writeTHPopupRef.value?.open()
} else {
openTestDialog(true)
@@ -950,7 +950,7 @@ const handleTest = async (val: string) => {
}
const openTestDialog = (testData: any) => {
if (appSceneStore.currentScene === '0') {
if (appSceneStore.currentScene === '0'&& modeStore.currentMode != '比对式') {
if (testData) {
writeTHPopupRef.value?.open()
} else {