85 lines
1.9 KiB
JavaScript
85 lines
1.9 KiB
JavaScript
const ordStaEnum = {
|
|
post: 1,
|
|
get: 2,
|
|
unpay: 3
|
|
}
|
|
const ordStatusList = [
|
|
{ title: '寄件', val: ordStaEnum.post },
|
|
{ title: '收件', val: ordStaEnum.get },
|
|
{ title: '待付款', val: ordStaEnum.unpay }
|
|
]
|
|
|
|
const payTypeEnum = {
|
|
postNow: 1,
|
|
toNow: 2,
|
|
postMonth: 3,
|
|
toMonth: 4,
|
|
outNow: 5,
|
|
outMonth: 6,
|
|
other: 7,
|
|
}
|
|
|
|
const payTypeList = [
|
|
{ title: '待取件', val: payTypeEnum.postNow },
|
|
{ title: '已取件', val: payTypeEnum.toNow },
|
|
{ title: '寄付月结', val: payTypeEnum.postMonth },
|
|
{ title: '到付月结', val: payTypeEnum.toMonth },
|
|
{ title: '第三方付款', val: payTypeEnum.outNow },
|
|
{ title: '第三方月结',val: payTypeEnum.outMonth },
|
|
{ title: '其他', val: payTypeEnum.other }
|
|
]
|
|
|
|
|
|
const dlvTypeEnum = {
|
|
waitpack: 1,
|
|
getpack: 2,
|
|
trans: 3,
|
|
dispatch: 4,
|
|
sign: 5,
|
|
obtain: 6,
|
|
waitdispatch: 7,
|
|
cancel: 8,
|
|
nullify: 9,
|
|
forward: 10,
|
|
back: 11,
|
|
other: 12,
|
|
}
|
|
|
|
const dlvTypeList = [
|
|
{ title: '待取件', val: dlvTypeEnum.waitpack },
|
|
{ title: '已取件', val: dlvTypeEnum.getpack },
|
|
{ title: '运输中', val: dlvTypeEnum.trans },
|
|
{ title: '派送中', val: dlvTypeEnum.dispatch },
|
|
{ title: '已签收', val: dlvTypeEnum.sign },
|
|
{ title: '已收取',val: dlvTypeEnum.obtain },
|
|
{ title: '待派送', val: dlvTypeEnum.waitdispatch },
|
|
{ title: '已取消', val: dlvTypeEnum.cancel },
|
|
{ title: '已作废', val: dlvTypeEnum.nullify },
|
|
{ title: '已转寄', val: dlvTypeEnum.forward },
|
|
{ title: '已退回', val: dlvTypeEnum.back },
|
|
{ title: '其他', val: dlvTypeEnum.other },
|
|
]
|
|
|
|
const dateTypeEnum = {
|
|
week: 1,
|
|
month: 2,
|
|
custom: 3,
|
|
}
|
|
|
|
const dateTypeList = [
|
|
{ title: '近一周', val: dateTypeEnum.week },
|
|
{ title: '近一月', val: dateTypeEnum.month },
|
|
{ title: '自定义时间', val: dateTypeEnum.custom },
|
|
]
|
|
|
|
|
|
export {
|
|
ordStaEnum,
|
|
ordStatusList,
|
|
payTypeEnum,
|
|
payTypeList,
|
|
dlvTypeEnum,
|
|
dlvTypeList,
|
|
dateTypeEnum,
|
|
dateTypeList
|
|
} |