Commit c0ca1891 by wangzhihui

Merge branch 'SAAS+V5.0.0' of http://192.168.3.233:8090/saas_plus/dj-car-life-sy…

…stem into SAAS+V5.0.0
2 parents 6eb7e8ea 5fd277a8
const CAR_STATUS = {
0: '库存中',
1: '已售出',
2: '待售',
3: '已预定',
1: '已售出',
4: '已交付',
5: '待拍卖',
6: '拍卖中',
......@@ -21,7 +21,14 @@ const CAR_STATUS_LEVEL = {
6: 7,
7: 8,
}
const CAR_STATUS_ORDER = [0, 2, 3, 1, 4, 5, 6, 7]
const CAR_STATUS_OPTIONS = CAR_STATUS_ORDER.map(key => {
return {
label: CAR_STATUS[key],
value: +key,
level: CAR_STATUS_LEVEL[key],
}
})
const CAR_STATUS_COLOR = {
0: 'warning',
1: 'info',
......@@ -32,13 +39,7 @@ const CAR_STATUS_COLOR = {
6: 'warning',
7: 'info',
}
const CAR_STATUS_OPTIONS = Object.keys(CAR_STATUS).map(key => {
return {
label: CAR_STATUS[key],
value: +key,
level: CAR_STATUS_LEVEL[key],
}
})
const USAGE_TYPE = {
1: '非营运',
2: '营运',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!