feat: new page

This commit is contained in:
2026-01-21 15:07:11 +08:00
parent 607b292f36
commit 502c236b0d
31 changed files with 2730 additions and 186 deletions

View File

@@ -1,7 +1,7 @@
import type { BadgeProps } from 'antd';
export enum OrderStatus {
All = 1,
All = 0,
PendingPayment = 10,
PendingConfirmation = 20,
PendingService = 30,
@@ -53,3 +53,21 @@ export const mapOrderStatusToBadgeStatus = (
return statusMap[statusColor] || 'default';
};
export enum SalesStatus {
All = 0,
Apply = 10,
SellerAgree = 20,
BuyerDelivery = 30,
WaitRefund = 40,
Completed = 50,
}
export const SalesStatusLableMap: Record<SalesStatus, string> = {
[SalesStatus.All]: '所有售后单',
[SalesStatus.Apply]: '等待审核',
[SalesStatus.SellerAgree]: '审核通过',
[SalesStatus.BuyerDelivery]: '已完成',
[SalesStatus.WaitRefund]: '已取消',
[SalesStatus.Completed]: '已拒绝',
};