feat:配置权限

This commit is contained in:
dzc committed 2025-01-19 15:34:30 +08:00
1 parent 7d780d9f0c
commit c4f10ac9fe
5 files changed
+28 -7

No files matched your search

@@ -15,6 +15,7 @@
<el-col :span="24" class="mb20">
<el-form-item label="退款理由" prop="afterSaleRefundReasons">
<el-select
:disabled="!auth('wallet_setting_edit')"
style="width: 500px"
v-model="form.afterSaleRefundReasons"
allow-create
@@ -34,6 +35,7 @@
<el-col :span="24" class="mb20">
<el-form-item label="退货理由" prop="afterSaleReturnReasons">
<el-select
:disabled="!auth('wallet_setting_edit')"
style="width: 500px"
v-model="form.afterSaleReturnReasons"
allow-create
@@ -65,6 +67,8 @@
import { storePrice } from "/@/utils/formatMoney"
import { useMessage } from "/@/hooks/message"
import { getObj, putObj } from "/@/api/wallet/wallet-setting"
import { auth } from "/@/utils/authFunction"
// 定义变量内容
const dataFormRef = ref()
const loading = ref(false)