duy 1 年之前
父節點
當前提交
cfff435321
共有 1 個文件被更改,包括 6 次插入1 次删除
  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',
     // })