Authored by zhangxiaoru

支付方式

... ... @@ -67,6 +67,8 @@ const _getOrderStatus = (order, showLogistics) => {
isPayonline: true
});
let isPayaly = order.paymentName === '' ? false : true;
switch (order.status) {
case 0:
... ... @@ -83,7 +85,7 @@ const _getOrderStatus = (order, showLogistics) => {
/* 已付款状态不给查看物流 URL */
Object.assign(result, {
unreceived: true,
payAly: true
payAly: isPayaly
});
break;
case 4:
... ... @@ -92,7 +94,7 @@ const _getOrderStatus = (order, showLogistics) => {
/* 已发货状态,给查看物流或二维码URL */
Object.assign(result, {
unreceived: true,
payAly: true
payAly: isPayaly
});
/* 是否门票 */
... ... @@ -109,7 +111,7 @@ const _getOrderStatus = (order, showLogistics) => {
/* 已成功订单,给查看物流或二维码URL */
Object.assign(result, {
completed: true,
payAly: true
payAly: isPayaly
});
/* 是否门票 */
... ...