fix: update some files
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 10m55s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 10m55s
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user