You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shop-app/common/dicts/order.js

30 lines
751 B

/*
* @Author: ch
* @Date: 2022-03-29 16:47:32
* @LastEditors: ch
* @LastEditTime: 2022-04-14 10:14:40
* @Description: file content
*/
import Enum from "@/common/plugins/enum"
const DictOrderStatus = new Enum([
{key : '1', name : '待支付', value: 'awaitPay'},
{key : '2', name : '已关闭', value: 'close'},
{key : '3', name : '待发货', value: 'awaitSend'},
{key : '4', name : '已发货', value: 'finishSend'},
{key : '6', name : '已收货', value: 'finishReceiving'},
{key : '7', name : '已完成', value: 'end'}
])
const DictSaleAfterStatus = {
"1":"已申请",
"2":"已关闭",
"3":"待退货",
"4":"退货中",
"5":"退款中",
"6":"退款成功",
"7":"退款失败"
}
export {
DictOrderStatus,
DictSaleAfterStatus
}