duy 2 жил өмнө
parent
commit
8e79c8dceb

+ 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: '报告编号'},