feat: new page
This commit is contained in:
@@ -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]: '已拒绝',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user