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

---
 src/views/procurementManagement/qualityInspection/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/procurementManagement/qualityInspection/index.vue b/src/views/procurementManagement/qualityInspection/index.vue
index aee1d99..9c99277 100644
--- a/src/views/procurementManagement/qualityInspection/index.vue
+++ b/src/views/procurementManagement/qualityInspection/index.vue
@@ -23,7 +23,7 @@
       <div class="table-header">
         <el-button type="primary" @click="openDialog('add')">鏂板璐ㄦ鍗�</el-button>
         <el-button type="success" @click="handleBatchComplete">鎵归噺瀹屾垚</el-button>
-        <el-button type="danger" @click="handleBatchDelete">鎵归噺鍒犻櫎</el-button>
+        <el-button type="danger" @click="handleBatchDelete" v-hasPermi="['procurementManagement:qualityInspection:remove']">鎵归噺鍒犻櫎</el-button>
       </div>
 
       <el-table :data="tableData" border v-loading="loading" @selection-change="handleSelectionChange">
@@ -43,7 +43,7 @@
           <template #default="{ row }">
             <el-button type="primary" link @click="openDialog('edit', row)">缂栬緫</el-button>
             <el-button type="success" link @click="handleComplete(row)" v-if="row.status !== 'completed'">瀹屾垚</el-button>
-            <el-button type="danger" link @click="handleDelete(row)">鍒犻櫎</el-button>
+            <el-button type="danger" link @click="handleDelete(row)" v-hasPermi="['procurementManagement:qualityInspection:remove']">鍒犻櫎</el-button>
           </template>
         </el-table-column>
       </el-table>

--
Gitblit v1.9.3