增加订单状态文件
This commit is contained in:
84
commons/orderEnum.js
Normal file
84
commons/orderEnum.js
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
export default {
|
||||||
|
status: [
|
||||||
|
{
|
||||||
|
key: 'unpaid',
|
||||||
|
label: '待支付'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'unsend',
|
||||||
|
label: '待发货'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'closed',
|
||||||
|
label: '订单完成'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'send',
|
||||||
|
label: '已发'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'refunding',
|
||||||
|
label: '申请退单'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'refund',
|
||||||
|
label: '退单'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'cancelled',
|
||||||
|
label: '取消订单'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'merge',
|
||||||
|
label: '合台'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'pending',
|
||||||
|
label: '挂单'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'activate',
|
||||||
|
label: '激活'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'paying',
|
||||||
|
label: '支付中'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
sendType: [
|
||||||
|
{
|
||||||
|
key: 'post',
|
||||||
|
label: '快递'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'takeaway',
|
||||||
|
label: '外卖'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'takeself',
|
||||||
|
label: '自提'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'table',
|
||||||
|
label: '堂食'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
orderType: [
|
||||||
|
{
|
||||||
|
key: 'cash',
|
||||||
|
label: '收银'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'miniapp',
|
||||||
|
label: '小程序'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'offline',
|
||||||
|
label: '线下'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'return',
|
||||||
|
label: '退单'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user