...
|
...
|
@@ -79,7 +79,8 @@ const _getOrderStatus = (order, showLogistics) => { |
|
|
|
|
|
/* 已付款状态不给查看物流 URL */
|
|
|
Object.assign(result, {
|
|
|
unreceived: true
|
|
|
unreceived: true,
|
|
|
payAly: true
|
|
|
});
|
|
|
break;
|
|
|
case 4:
|
...
|
...
|
@@ -87,7 +88,8 @@ const _getOrderStatus = (order, showLogistics) => { |
|
|
|
|
|
/* 已发货状态,给查看物流或二维码URL */
|
|
|
Object.assign(result, {
|
|
|
unreceived: true
|
|
|
unreceived: true,
|
|
|
payAly: true
|
|
|
});
|
|
|
|
|
|
/* 是否门票 */
|
...
|
...
|
@@ -103,7 +105,8 @@ const _getOrderStatus = (order, showLogistics) => { |
|
|
|
|
|
/* 已成功订单,给查看物流或二维码URL */
|
|
|
Object.assign(result, {
|
|
|
completed: true
|
|
|
completed: true,
|
|
|
payAly: true
|
|
|
});
|
|
|
|
|
|
/* 是否门票 */
|
...
|
...
|
@@ -119,6 +122,10 @@ const _getOrderStatus = (order, showLogistics) => { |
|
|
break;
|
|
|
}
|
|
|
} else {
|
|
|
Object.assign(result, {
|
|
|
payAly: true,
|
|
|
paymentName: (order.paymentName !== '') ? order.paymentName : '货到付款'
|
|
|
});
|
|
|
|
|
|
/* 订单为货到付款订单时,计算订单状态。(货到付款没有待付款状态) */
|
|
|
switch (order.status) {
|
...
|
...
|
|