对接订单相关接口
This commit is contained in:
@ -166,6 +166,20 @@ export const OrderStatusTitle: Record<OrderSource, Record<OrderStatus, string>>
|
||||
[OrderStatus.Refunded]: '售后完成',
|
||||
[OrderStatus.AfterSaleApply]: '申请售后',
|
||||
[OrderStatus.AfterSaleProcessing]: '申请售后中'
|
||||
},
|
||||
[OrderSource.Admin]: {
|
||||
[OrderStatus.Consuming]: '消费中',
|
||||
[OrderStatus.Reserved]: '已预约',
|
||||
[OrderStatus.Serving]: '服务中',
|
||||
[OrderStatus.Pending]: '待付款',
|
||||
[OrderStatus.Confirm]: '订单待确认',
|
||||
[OrderStatus.Finished]: '已完结',
|
||||
[OrderStatus.Cancelled]: '订单取消',
|
||||
[OrderStatus.ToUse]: '待使用',
|
||||
[OrderStatus.Used]: '交易完成',
|
||||
[OrderStatus.Refunded]: '售后完成',
|
||||
[OrderStatus.AfterSaleApply]: '申请售后',
|
||||
[OrderStatus.AfterSaleProcessing]: '申请售后中'
|
||||
},
|
||||
}
|
||||
|
||||
@ -323,18 +337,20 @@ export const TeaRoomPackageOrderStatusTextValue: Record<TeaRoomPackageOrderStatu
|
||||
|
||||
// 管理员-订单管理状态
|
||||
export enum AdminOrderStatus {
|
||||
ToUse = 0, // 待使用
|
||||
Consuming = 1,// 使用中
|
||||
Finished = 2, // 已完成
|
||||
Cancelled = 3, // 取消订单
|
||||
Pending = 0, // 未支付
|
||||
ToUse = 1, // 待使用(预约单)
|
||||
Consuming = 2, // 使用中(消费中)
|
||||
Finished = 3, // 已完成(已完结)
|
||||
Cancelled = 4, // 取消订单(已取消)
|
||||
}
|
||||
|
||||
// 管理员-订单状态文本
|
||||
export enum AdminOrderStatusText {
|
||||
All = 'all', // 全部
|
||||
ToUse = 'toUse', // 待使用
|
||||
Consuming = 'consuming',// 使用中
|
||||
Finished = 'finished', // 已完成
|
||||
Cancelled = 'cancelled', // 已取消
|
||||
Pending = 'pending', // 未支付
|
||||
ToUse = 'toUse', // 待使用(预约单)
|
||||
Consuming = 'consuming',// 使用中(消费中)
|
||||
Finished = 'finished', // 已完成(已完结)
|
||||
Cancelled = 'cancelled', // 取消订单(已取消)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user