5 changed files with 123 additions and 6 deletions
-
12src/pagesOrder/create/create.vue
-
22src/pagesOrder/detail/detail.vue
-
26src/services/constants.ts
-
24src/services/order.ts
-
45src/types/order.d.ts
@ -0,0 +1,26 @@ |
|||
/** 订单状态枚举 */ |
|||
export enum OrderState { |
|||
/** 待付款 */ |
|||
DaiFuKuan = 1, |
|||
/** 待发货 */ |
|||
DaiFaHuo = 2, |
|||
/** 待收货 */ |
|||
DaiShouHuo = 3, |
|||
/** 待评价 */ |
|||
DaiPingJia = 4, |
|||
/** 已完成 */ |
|||
YiWanCheng = 5, |
|||
/** 已取消 */ |
|||
YiQuXiao = 6, |
|||
} |
|||
|
|||
/** 订单状态列表 */ |
|||
export const orderStateList = [ |
|||
{ id: 0, text: '' }, |
|||
{ id: 1, text: '待付款' }, |
|||
{ id: 2, text: '待发货' }, |
|||
{ id: 3, text: '待收货' }, |
|||
{ id: 4, text: '待评价' }, |
|||
{ id: 5, text: '已完成' }, |
|||
{ id: 6, text: '已取消' }, |
|||
] |
Write
Preview
Loading…
Cancel
Save
Reference in new issue