Authored by 毕凯

Merge branch 'hotfix/pay' into 'master'

order-btn-fuck



See merge request !856
@@ -116,7 +116,9 @@ const _getOrderStatus = (order) => { @@ -116,7 +116,9 @@ const _getOrderStatus = (order) => {
116 return {}; 116 return {};
117 } 117 }
118 118
119 - if (parseInt(order.attribute, 10) === 9) { 119 + let attribute = _.parseInt(order.attribute);
  120 +
  121 + if (attribute === 9 || attribute === 11) {
120 /* 预售商品,不能进行任何操作 */ 122 /* 预售商品,不能进行任何操作 */
121 orderBtn.push({ 123 orderBtn.push({
122 isAdvance: true 124 isAdvance: true
@@ -57,7 +57,9 @@ const _getOrderStatus = (order, showLogistics) => { @@ -57,7 +57,9 @@ const _getOrderStatus = (order, showLogistics) => {
57 return {}; 57 return {};
58 } 58 }
59 59
60 - if (parseInt(order.attribute, 10) === 9) { 60 + let attribute = _.parseInt(order.attribute);
  61 +
  62 + if (attribute === 9 || attribute === 11) {
61 /* 预售商品,不能进行任何操作 */ 63 /* 预售商品,不能进行任何操作 */
62 orderBtn.push({ 64 orderBtn.push({
63 isAdvance: true 65 isAdvance: true
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 <li><span class="hours">{{leftTime}}</span></li> 6 <li><span class="hours">{{leftTime}}</span></li>
7 </ul> 7 </ul>
8 {{else if isAdvance}} 8 {{else if isAdvance}}
9 - <span class="order-opt-info">*定金预售订单只能在APP端操作</span> 9 + <span class="order-opt-info">*订单只能在APP端操作</span>
10 {{else if refundApply}} 10 {{else if refundApply}}
11 <span class="btn refund">申请退款</span> 11 <span class="btn refund">申请退款</span>
12 {{else if modifyAddress}} 12 {{else if modifyAddress}}