Explorar el Código

判断依据回显

duy hace 1 mes
padre
commit
d7dda38a02
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/views/tentative/detect/components/basicInfo.vue

+ 3 - 0
src/views/tentative/detect/components/basicInfo.vue

@@ -369,6 +369,8 @@ infoLoad.value = false
     if (!error && code === 200) {
       console.log(data, '基础信息数据')
         basicInfoData.value = getObjValue(data)
+        standardId.value = data?.standardId
+
         oldRecordNumber.value = data?.recordNo
         oldReportNumber.value = data?.reportNo
    
@@ -392,6 +394,7 @@ infoLoad.value = false
 
     } else {
          basicInfoData.value = {}
+          standardId.value = ''
     }
 }