调试接口
This commit is contained in:
@ -218,6 +218,7 @@ export enum TeaRoomOrderStatus {
|
||||
Consumption = 2, // 消费中
|
||||
Finished = 3, // 完成
|
||||
Cancelled = 4, // 订单取消
|
||||
Refunded = 5, // 已退款
|
||||
}
|
||||
|
||||
// 包间订单状态文本
|
||||
@ -228,6 +229,7 @@ export enum TeaRoomOrderStatusText {
|
||||
Consumption = 'consumption', // 消费中
|
||||
Finished = 'finished', // 已完成
|
||||
Cancelled = 'cancelled', // 已取消
|
||||
Refunded = 'refunded', // 已取消
|
||||
}
|
||||
|
||||
// 状态内容映射
|
||||
@ -246,6 +248,9 @@ export const TeaRoomOrderStatusTextValue: Record<TeaRoomOrderStatus, any> = {
|
||||
},
|
||||
[TeaRoomOrderStatus.Cancelled]: {
|
||||
title: '订单取消'
|
||||
},
|
||||
[TeaRoomOrderStatus.Refunded]: {
|
||||
title: '已退款'
|
||||
},
|
||||
}
|
||||
|
||||
@ -257,9 +262,10 @@ export const TeaRoomOrderStatusValue: Record<TeaRoomOrderStatusText, string | nu
|
||||
[TeaRoomOrderStatusText.Consumption]: 2,
|
||||
[TeaRoomOrderStatusText.Finished]: 3,
|
||||
[TeaRoomOrderStatusText.Cancelled]: 4,
|
||||
[TeaRoomOrderStatusText.Refunded]: 5,
|
||||
}
|
||||
|
||||
// 包间订单状态数字(根据UI图还缺已退款、待接单、售后中、售后完成)
|
||||
// 包间订单套餐状态数字(根据UI图还缺已退款、待接单、售后中、售后完成)
|
||||
export enum TeaRoomPackageOrderStatus {
|
||||
Pending = 0, // 待付款
|
||||
ToUse = 1, // 待使用
|
||||
|
||||
Reference in New Issue
Block a user