review:【antd】【ele】member 增加 coupon-list 列表

This commit is contained in:
YunaiV
2025-11-02 14:30:17 +08:00
parent 603f0d9c0d
commit 17ccc0a27f
9 changed files with 312 additions and 196 deletions

View File

@@ -101,6 +101,7 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
formatter: 'formatDateTime',
},
{
field: 'actions',
title: '操作',
width: 100,
fixed: 'right',

View File

@@ -7,7 +7,6 @@ import { ref } from 'vue';
import { DocAlert, Page } from '@vben/common-ui';
import { DICT_TYPE } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { $t } from '@vben/locales';
import { message, TabPane, Tabs } from 'ant-design-vue';
@@ -32,7 +31,7 @@ function handleRefresh() {
/** 删除优惠券 */
async function handleDelete(row: MallCouponApi.Coupon) {
const hideLoading = message.loading({
content: $t('ui.actionMessage.deleting', [row.name]),
content: '回收中...',
duration: 0,
});
try {