feat:【mall 商城】优惠劵-领取记录(100% antd)

This commit is contained in:
YunaiV
2025-10-16 23:04:33 +08:00
parent 1394688364
commit 47a6a7284c
3 changed files with 41 additions and 43 deletions

View File

@@ -2,7 +2,6 @@ import type { VbenFormSchema } from '#/adapter/form';
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
import { DICT_TYPE } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
import { getRangePickerDefaultProps } from '#/utils';
@@ -110,23 +109,3 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
];
}
/** 获取状态选项卡配置 */
export function getStatusTabs() {
const tabs = [
{
label: '全部',
value: 'all',
},
];
// 添加字典状态选项
const statusOptions = getDictOptions(DICT_TYPE.PROMOTION_COUPON_STATUS);
for (const option of statusOptions) {
tabs.push({
label: option.label,
value: String(option.value),
});
}
return tabs;
}