feat:退还各自食堂权限
This commit is contained in:
1 parent
d4220f7161
commit
59f35ac7cf
1 file changed
+6
-2
@@ -13,7 +13,8 @@
|
||||
<el-col :span="24" class="mb20">
|
||||
<el-form-item label="充值类型" prop="bizType">
|
||||
<dict-select v-model="form.bizType" dict-code="wallet_biz_recharge"
|
||||
:hide-ids="[roleCodes.includes('RETURN_CANTEEN') ? '' : '3']" placeholder="请选择饭卡类型" />
|
||||
:hide-ids="[(roleCodes.includes('RETURN_CANTEEN') || auths(['wallet_walletRechargeApply_refund'])) ? '' : '3']"
|
||||
placeholder="请选择饭卡类型" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
@@ -27,7 +28,9 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col v-if="roleCodes.includes('RETURN_CANTEEN') && form.bizType == 3" :span="24" class="mb20">
|
||||
<el-col
|
||||
v-if="(roleCodes.includes('RETURN_CANTEEN') || auths(['wallet_walletRechargeApply_refund'])) && form.bizType == 3"
|
||||
:span="24" class="mb20">
|
||||
<el-form-item prop="isAuthorization">
|
||||
<template #label>
|
||||
<span>授权</span>
|
||||
@@ -66,6 +69,7 @@ const emit = defineEmits(["refresh"])
|
||||
import { getWalletTypeSimple } from "/@/api/wallet/wallet-type"
|
||||
import { useUserInfo } from "/@/stores/userInfo"
|
||||
import { formatDate } from "/@/utils/formatTime"
|
||||
import { auths } from "/@/utils/authFunction"
|
||||
|
||||
// 定义查询字典
|
||||
const { yes_no_type } = useDict("yes_no_type")
|
||||
|
||||
Reference in new issue
Block a user