客户余额按钮加权限控制

This commit is contained in:
luojiaquan
2026-10-19 16:03:30 +08:00
parent 5bb9000e8e
commit 1ae97cd622
5 changed files with 317 additions and 309 deletions
@@ -81,7 +81,7 @@
icon="Edit"
:disabled="single"
@click="handleCustomerMoney"
v-hasPermi="['customersupplier:customerinfo:balance']"
>客户余额</el-button>
</el-col>
<el-col :span="1.5">
@@ -198,7 +198,7 @@
<template #default="scope">
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['customersupplier:customerinfo:edit']">修改</el-button>
<!-- <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['customersupplier:customerinfo:remove']">删除</el-button>-->
<el-button link type="primary" icon="Wallet" @click="handleCustomerMoney(scope.row)">客户余额</el-button>
<el-button link type="primary" icon="Wallet" @click="handleCustomerMoney(scope.row)" v-hasPermi="['customersupplier:customerinfo:balance']">客户余额</el-button>
<el-button link type="primary" icon="Document" @click="handleViewLog(scope.row)" v-hasPermi="['customersupplier:customerinfo:query']">日志</el-button>
</template>