duy 1 year ago
parent
commit
cfff435321
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/views/transfer/entry-sampling.vue

+ 6 - 1
src/views/transfer/entry-sampling.vue

@@ -148,7 +148,12 @@ const confirmAllocationClick = async () => {
 const ToInspection = () => {
   console.log( checkKeys.value, '  checkKeys.value')
   const ids = checkKeys.value.join(',')
-  goInspection(ids)
+  if (checkKeys.value.length > 0) {
+    goInspection(ids)
+  } else {
+    window.$message.warning('请您勾选想要验收的目录')
+  }
+ 
     // router.push({
     //     name: 'transfer-preliminary-examination',
     // })