From 78caa769e452f63288743b8997f7b4c21bb06ce5 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 06 十一月 2026 19:00:38 +0800
Subject: [PATCH] feat(crm,mes): 扩展客户字段与重构批次号生成逻辑
---
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