From 63f2d8d30aa1f2cc28a1fc70e893b40664b43d14 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 27 一月 2026 13:23:29 +0800
Subject: [PATCH] 还原

---
 src/views/productionManagement/productStructure/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/productionManagement/productStructure/index.vue b/src/views/productionManagement/productStructure/index.vue
index a7e90e0..1ae3f77 100644
--- a/src/views/productionManagement/productStructure/index.vue
+++ b/src/views/productionManagement/productStructure/index.vue
@@ -1,9 +1,10 @@
 <template>
   <div class="app-container">
     <div style="text-align: right; margin-bottom: 10px;">
-      <el-button type="info" plain icon="Upload" @click="handleImport">瀵煎叆</el-button>
-      <el-button type="warning" plain icon="Download" @click="handleExport"
-        :disabled="selectedRows.length !== 1">瀵煎嚭</el-button>
+      <el-button type="info" plain icon="Upload" @click="handleImport"
+        v-hasPermi="['product:bom:import']">瀵煎叆</el-button>
+      <el-button type="warning" plain icon="Download" @click="handleExport" :disabled="selectedRows.length !== 1"
+        v-hasPermi="['product:bom:export']">瀵煎嚭</el-button>
       <el-button type="primary" @click="handleAdd">鏂板</el-button>
       <el-button type="danger" plain @click="handleBatchDelete" :disabled="selectedRows.length === 0">鍒犻櫎</el-button>
     </div>

--
Gitblit v1.9.3