fix: update some files
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 10m55s

This commit is contained in:
luo
2026-08-18 18:05:40 +08:00
parent 95abcb97ef
commit 2d6948010b
2 changed files with 7 additions and 177 deletions

View File

@@ -473,7 +473,8 @@
{
prop: 'refund_reason',
label: '退款原因',
minWidth: 200,
minWidth: 250,
showOverflowTooltip: true,
formatter: (row: Refund) => row.refund_reason || '-'
},
{
@@ -791,7 +792,11 @@
const actions: any[] = []
const voucherKeys = getRefundAttachmentKeys(row)
if (voucherKeys.length && hasAuth('refund:view_voucher')) {
if (
[1, 2].includes(userStore.getUserInfo.user_type || 0) &&
voucherKeys.length &&
hasAuth('refund:view_voucher')
) {
actions.push({
label: '退款凭证',
handler: () => handleViewRefundVoucher(row),