Showing
2 changed files
with
6 additions
and
8 deletions
@@ -165,10 +165,6 @@ function submitOrder() { | @@ -165,10 +165,6 @@ function submitOrder() { | ||
165 | var invoiceText = $invoice.find('[name="invoice-title"]').val() || orderInfo('invoiceText'), | 165 | var invoiceText = $invoice.find('[name="invoice-title"]').val() || orderInfo('invoiceText'), |
166 | msg = $('#msg').find('input').val() || orderInfo('msg'); | 166 | msg = $('#msg').find('input').val() || orderInfo('msg'); |
167 | 167 | ||
168 | - if (orderInfo('deliveryId') === 2 && !$addressWrap.data('support')) { | ||
169 | - tip.show('当前地址不支持顺丰快递'); | ||
170 | - return; | ||
171 | - } | ||
172 | if (isSubmiting) { | 168 | if (isSubmiting) { |
173 | return false; | 169 | return false; |
174 | } | 170 | } |
@@ -27,10 +27,12 @@ | @@ -27,10 +27,12 @@ | ||
27 | </h3> | 27 | </h3> |
28 | <ul> | 28 | <ul> |
29 | {{#each paymentWay}} | 29 | {{#each paymentWay}} |
30 | - <li {{#if isSelected}}class="chosed"{{/if}}> | ||
31 | - <span>{{name}}</span> | ||
32 | - <i class="right iconfont {{#if recommend}}icon-cb-radio{{else}}icon-radio{{/if}}" data-id="{{paymentType}}"></i> | ||
33 | - </li> | 30 | + {{#if isSupport}} |
31 | + <li {{#if recommend}}class="chosed"{{/if}}> | ||
32 | + <span>{{name}}</span> | ||
33 | + <i class="right iconfont {{#if recommend}}icon-cb-radio{{else}}icon-radio{{/if}}" data-id="{{paymentType}}"></i> | ||
34 | + </li> | ||
35 | + {{/if}} | ||
34 | {{/each}} | 36 | {{/each}} |
35 | </ul> | 37 | </ul> |
36 | </div> | 38 | </div> |
-
Please register or login to post a comment