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.
21 lines
393 B
21 lines
393 B
function isEmpty(val) {
|
|
return typeof val === 'undefined' || val === '' || val === null
|
|
}
|
|
|
|
function orderBidding(status) {
|
|
if (status == -1) {
|
|
return '已流拍'
|
|
} else if (status == 0) {
|
|
return '竞价中'
|
|
} else if (status == 1) {
|
|
return '待下单'
|
|
} else if (status == 2) {
|
|
return '已结束'
|
|
}
|
|
return ''
|
|
}
|
|
|
|
|
|
module.exports = {
|
|
orderBidding: orderBidding
|
|
}
|