duy 2 сар өмнө
parent
commit
d74dd6f319

+ 7 - 0
src/views/archives/manage/tuning.vue

@@ -1096,6 +1096,13 @@ const batchEditClick = (type) => {
                 window.$message.warning('选择的案卷中包含被锁定的项,无法更新')
                 return
             }
+            // 检查是否有在重组或并卷的案卷
+            const processingArchives = tableCheckedKeys.value.filter(item => item.colourStatus === 2 || item?.actionType === 1 || item?.actionType === 2)
+            if (processingArchives.length > 0) {
+                const archiveNames = processingArchives.map(item => item.name).join('、')
+                window.$message.warning(`${archiveNames}案卷正在重组或并卷,请稍后再试`)
+                return
+            }
 
     } else {
         editTitle.value = '编辑文件信息'