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

This commit is contained in:
YunaiV
2025-10-18 11:37:28 +08:00
parent 4084009556
commit 97e692d2fc
3 changed files with 50 additions and 46 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';
@@ -109,24 +108,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;
}