feat: 查看物流展示
This commit is contained in:
@@ -103,7 +103,7 @@ export function formatOrderColor(order) {
|
||||
if (order.status === 0) {
|
||||
return 'info-color';
|
||||
}
|
||||
if (order.status === 10 || order.status === 20 || (order.status === 30 && !order.commentStatus)) {
|
||||
if (order.status === 10 || order.status === 15 || order.status === 20 || (order.status === 30 && !order.commentStatus)) {
|
||||
return 'warning-color';
|
||||
}
|
||||
if (order.status === 30 && order.commentStatus) {
|
||||
@@ -125,6 +125,9 @@ export function formatOrderStatus(order) {
|
||||
if (order.status == 10) {
|
||||
return '待发货';
|
||||
}
|
||||
if (order.status == 15) {
|
||||
return '部分发货';
|
||||
}
|
||||
if (order.status == 20) {
|
||||
return '待收货';
|
||||
}
|
||||
@@ -162,6 +165,9 @@ export function formatOrderStatusDescription(order) {
|
||||
if (order.status === 10) {
|
||||
return '商家未发货,请耐心等待';
|
||||
}
|
||||
if (order.status === 15) {
|
||||
return '商家部分发货,剩余商品请耐心等待';
|
||||
}
|
||||
if (order.status === 20) {
|
||||
return '商家已发货,请耐心等待';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user