From fa95ef8dd4c23d05bf7bee16927f207cc0793412 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 02 十一月 2026 10:27:29 +0800
Subject: [PATCH] 诚发五金:按需求收敛页面,去掉无入口的工序/库区库位强依赖

---
 src/views/wls/warehouse/index.vue |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/src/views/wls/warehouse/index.vue b/src/views/wls/warehouse/index.vue
index 43325e3..4c68d90 100644
--- a/src/views/wls/warehouse/index.vue
+++ b/src/views/wls/warehouse/index.vue
@@ -3,7 +3,6 @@
 import type { MesWmWarehouseApi } from '#/api/mes/wm/warehouse';
 
 import { ref } from 'vue';
-import { useRouter } from 'vue-router';
 
 import { Page, useVbenModal } from '@vben/common-ui';
 import { BarcodeBizTypeEnum } from '@vben/constants';
@@ -19,8 +18,6 @@
 import Form from './modules/form.vue';
 
 defineOptions({ name: 'WlsWarehouse' });
-
-const router = useRouter();
 
 const [FormModal, formModalApi] = useVbenModal({
   connectedComponent: Form,
@@ -62,14 +59,6 @@
   } finally {
     hideLoading();
   }
-}
-
-/** 璺宠浆搴撳尯鍒楄〃 */
-function handleOpenLocation(row: MesWmWarehouseApi.Warehouse) {
-  router.push({
-    path: '/wls/location',
-    query: { warehouseId: String(row.id) },
-  });
 }
 
 /** 鏌ョ湅浠撳簱鏉$爜 */
@@ -139,12 +128,6 @@
       <template #actions="{ row }">
         <TableAction
           :actions="[
-            {
-              label: '搴撳尯',
-              type: 'link',
-              auth: ['mes:wm-warehouse:query'],
-              onClick: handleOpenLocation.bind(null, row),
-            },
             {
               label: $t('common.edit'),
               type: 'link',

--
Gitblit v1.9.3