소스 검색

关联试验文件提示

duy 2 년 전
부모
커밋
8e79c8dceb
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  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: '报告编号'},