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

3 years ago
/*
* @Author: ch
* @Date: 2022-03-29 16:47:32
* @LastEditors: ch
3 years ago
* @LastEditTime: 2022-04-14 10:14:40
3 years ago
* @Description: file content
*/
import Enum from "@/common/plugins/enum"
const DictOrderStatus = new Enum([
3 years ago
{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'}
3 years ago
])
3 years ago
const DictSaleAfterStatus = {
"1":"已申请",
"2":"已关闭",
"3":"待退货",
"4":"退货中",
"5":"退款中",
"6":"退款成功",
"7":"退款失败"
}
3 years ago
export {
3 years ago
DictOrderStatus,
DictSaleAfterStatus
3 years ago
}