From d43f6da535330ef21e7cf0eb2547204660ad90ed Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Sat, 14 Sep 2024 18:24:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AE=A2=E5=8D=95=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commons/orderEnum.js | 84 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 commons/orderEnum.js diff --git a/commons/orderEnum.js b/commons/orderEnum.js new file mode 100644 index 0000000..c472261 --- /dev/null +++ b/commons/orderEnum.js @@ -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: '退单' + } + ] +} \ No newline at end of file