| | |
| | | if (row.shippingDate || row.shippingCarNumber) { |
| | | return '已发货' |
| | | } |
| | | if (row.shippingStatus === '发货中') { |
| | | return '发货中' |
| | | } |
| | | const status = row.shippingStatus |
| | | if (status === null || status === undefined || status === '') { |
| | | return '待发货' |
| | |
| | | '审核中': '审核中', |
| | | '审核拒绝': '审核拒绝', |
| | | '审核通过': '审核通过', |
| | | '已发货': '已发货' |
| | | '已发货': '已发货', |
| | | '发货中': '发货中' |
| | | } |
| | | return map[String(status).trim()] || '待发货' |
| | | } |
| | |
| | | '审核中': 'warning', |
| | | '审核拒绝': 'danger', |
| | | '审核通过': 'success', |
| | | '已发货': 'success' |
| | | '已发货': 'success', |
| | | '发货中': 'success' |
| | | } |
| | | return map[String(status).trim()] || 'info' |
| | | } |