From 02aa50f23d4858798a951bef1cfe2bc23031a4b1 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期五, 26 四月 2024 16:11:46 +0800
Subject: [PATCH] 合同导入新增金额规则

---
 src/views/system/template/default/index.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/views/system/template/default/index.vue b/src/views/system/template/default/index.vue
index 516bdac..01773b0 100644
--- a/src/views/system/template/default/index.vue
+++ b/src/views/system/template/default/index.vue
@@ -42,6 +42,7 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAdd"
+          v-hasPermi="['platform:template:add']"
         >鏂板</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -51,6 +52,7 @@
           icon="el-icon-edit"
           size="mini"
           :disabled="single"
+          v-hasPermi="['platform:template:edit']"
           @click="handleUpdate"
         >淇敼</el-button>
       </el-col>
@@ -61,6 +63,7 @@
           icon="el-icon-delete"
           size="mini"
           :disabled="multiple"
+          v-hasPermi="['platform:template:remove']"
           @click="handleDelete"
         >鍒犻櫎</el-button>
       </el-col>
@@ -70,6 +73,7 @@
           plain
           icon="el-icon-download"
           size="mini"
+          v-hasPermi="['platform:template:export']"
           @click="handleExport"
         >瀵煎嚭</el-button>
       </el-col>
@@ -94,12 +98,14 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
+            v-hasPermi="['platform:template:edit']"
           >淇敼</el-button>
           <el-button
             size="mini"
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
+            v-hasPermi="['platform:template:remove']"
           >鍒犻櫎</el-button>
         </template>
       </el-table-column>
@@ -183,7 +189,7 @@
 
 <script>
 import { listTemplate, getTemplate, delTemplate, addTemplate, updateTemplate } from "@/api/platform/default-template";
-// import { ruleSelect } from '@/api/platform/default-rule'
+// import { ruleSelect } from '@/api/platform/calculate-rule'
 import { unitSelect } from '@/api/platform/unit'
 
 export default {

--
Gitblit v1.8.0