|
@@ -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',
|
|
|
// })
|