Showing
1 changed file
with
5 additions
and
3 deletions
@@ -67,6 +67,8 @@ const _getOrderStatus = (order, showLogistics) => { | @@ -67,6 +67,8 @@ const _getOrderStatus = (order, showLogistics) => { | ||
67 | isPayonline: true | 67 | isPayonline: true |
68 | }); | 68 | }); |
69 | 69 | ||
70 | + let isPayaly = order.paymentName === '' ? false : true; | ||
71 | + | ||
70 | switch (order.status) { | 72 | switch (order.status) { |
71 | case 0: | 73 | case 0: |
72 | 74 | ||
@@ -83,7 +85,7 @@ const _getOrderStatus = (order, showLogistics) => { | @@ -83,7 +85,7 @@ const _getOrderStatus = (order, showLogistics) => { | ||
83 | /* 已付款状态不给查看物流 URL */ | 85 | /* 已付款状态不给查看物流 URL */ |
84 | Object.assign(result, { | 86 | Object.assign(result, { |
85 | unreceived: true, | 87 | unreceived: true, |
86 | - payAly: true | 88 | + payAly: isPayaly |
87 | }); | 89 | }); |
88 | break; | 90 | break; |
89 | case 4: | 91 | case 4: |
@@ -92,7 +94,7 @@ const _getOrderStatus = (order, showLogistics) => { | @@ -92,7 +94,7 @@ const _getOrderStatus = (order, showLogistics) => { | ||
92 | /* 已发货状态,给查看物流或二维码URL */ | 94 | /* 已发货状态,给查看物流或二维码URL */ |
93 | Object.assign(result, { | 95 | Object.assign(result, { |
94 | unreceived: true, | 96 | unreceived: true, |
95 | - payAly: true | 97 | + payAly: isPayaly |
96 | }); | 98 | }); |
97 | 99 | ||
98 | /* 是否门票 */ | 100 | /* 是否门票 */ |
@@ -109,7 +111,7 @@ const _getOrderStatus = (order, showLogistics) => { | @@ -109,7 +111,7 @@ const _getOrderStatus = (order, showLogistics) => { | ||
109 | /* 已成功订单,给查看物流或二维码URL */ | 111 | /* 已成功订单,给查看物流或二维码URL */ |
110 | Object.assign(result, { | 112 | Object.assign(result, { |
111 | completed: true, | 113 | completed: true, |
112 | - payAly: true | 114 | + payAly: isPayaly |
113 | }); | 115 | }); |
114 | 116 | ||
115 | /* 是否门票 */ | 117 | /* 是否门票 */ |
-
Please register or login to post a comment