Explorar o código

关联试验文件提示

duy %!s(int64=2) %!d(string=hai) anos
pai
achega
8e79c8dceb
Modificáronse 1 ficheiros con 7 adicións e 2 borrados
  1. 7 2
      src/views/data-fill/components/ListItem.vue

+ 7 - 2
src/views/data-fill/components/ListItem.vue

@@ -1151,9 +1151,14 @@ const savefileModal = ()=>{
              idarr.push(item.id)
     })
     const idval=idarr.join(',')
+    if(idval.length>0){
+        savesubmitRelationFile(idval)
+        fileModal.value=false
+    }else{
+         window?.$message?.warning('请选择你要关联的文件')
+    }
+    
     
-    savesubmitRelationFile(idval)
-    fileModal.value=false
 }
 const CTDdialogTableColumn = ref([
     {key:'recordNo', name: '报告编号'},