From bc365ef47ae4e01754aeadbae26170e11c9bb80e Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 22 六月 2026 16:56:12 +0800
Subject: [PATCH] 新疆马铃薯 1.删除按钮添加操作权限

---
 src/views/productionManagement/processRoute/index.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/productionManagement/processRoute/index.vue b/src/views/productionManagement/processRoute/index.vue
index 43425c6..e6c7da0 100644
--- a/src/views/productionManagement/processRoute/index.vue
+++ b/src/views/productionManagement/processRoute/index.vue
@@ -25,7 +25,7 @@
         <el-button type="danger"
                    @click="handleDelete"
                    :disabled="selectedRows.length === 0"
-                   plain>鍒犻櫎宸ヨ壓璺嚎</el-button>
+                   plain v-hasPermi="['productionManagement:processRoute:remove']">鍒犻櫎宸ヨ壓璺嚎</el-button>
       </div>
       <PIMTable rowKey="id"
                 :column="tableColumn"
@@ -61,7 +61,9 @@
   import EditProcess from "@/views/productionManagement/processRoute/Edit.vue";
   import RouteItemForm from "@/views/productionManagement/processRoute/ItemsForm.vue";
   import { listPage, del } from "@/api/productionManagement/processRoute.js";
-  const FileList = defineAsyncComponent(() => import("@/components/Dialog/FileList.vue"));
+  const FileList = defineAsyncComponent(() =>
+    import("@/components/Dialog/FileList.vue")
+  );
 
   import { useRouter } from "vue-router";
   import { ElMessage, ElMessageBox } from "element-plus";

--
Gitblit v1.9.3