From 749cb2f4ad815c5a68c19fe961d5ca2149a84dd4 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期四, 17 九月 2026 11:28:54 +0800
Subject: [PATCH] feat(mes): 新增员工排班明细页面,修复计划排程菜单404
---
src/views/wls/warehouse/location/index.vue | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/src/views/wls/warehouse/location/index.vue b/src/views/wls/warehouse/location/index.vue
index c3a2761..6542afb 100644
--- a/src/views/wls/warehouse/location/index.vue
+++ b/src/views/wls/warehouse/location/index.vue
@@ -7,6 +7,7 @@
import { Page, useVbenModal } from '@vben/common-ui';
import { BarcodeBizTypeEnum } from '@vben/constants';
+import { useTabs } from '@vben/hooks';
import { Alert, Button, message } from 'ant-design-vue';
@@ -57,6 +58,14 @@
}
}
loadWarehouseName();
+
+const tabs = useTabs();
+
+/** 杩斿洖涓婄骇 */
+function handleBack() {
+ tabs.closeCurrentTab();
+ router.push({ path: '/wls/warehouse' });
+}
/** 鍒锋柊琛ㄦ牸 */
function handleRefresh() {
@@ -158,7 +167,11 @@
:message="`褰撳墠浠撳簱锛�${currentWarehouse.name || `#${currentWarehouse.id}`}`"
show-icon
type="info"
- />
+ >
+ <template #action>
+ <Button size="small" type="primary" @click="handleBack"> 杩斿洖 </Button>
+ </template>
+ </Alert>
<Grid table-title="搴撳尯鍒楄〃">
<template #toolbar-tools>
--
Gitblit v1.9.3