Authored by 郭成尧

delivery_way

@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 * @Author: Targaryen 2 * @Author: Targaryen
3 * @Date: 2017-06-21 10:30:21 3 * @Date: 2017-06-21 10:30:21
4 * @Last Modified by: Targaryen 4 * @Last Modified by: Targaryen
5 - * @Last Modified time: 2017-06-23 17:12:13 5 + * @Last Modified time: 2017-06-23 18:04:49
6 */ 6 */
7 require('buynow/order-ensure.page.css'); 7 require('buynow/order-ensure.page.css');
8 const $ = require('yoho-jquery'); 8 const $ = require('yoho-jquery');
@@ -341,7 +341,7 @@ if (!orderInfo('address_id')) { @@ -341,7 +341,7 @@ if (!orderInfo('address_id')) {
341 } 341 }
342 342
343 $('.delivery-id').on('touchend', 'li', function() { 343 $('.delivery-id').on('touchend', 'li', function() {
344 - orderInfo('deliveryId', $(this).data('id')); 344 + orderInfo('delivery_way', $(this).data('id'));
345 345
346 // 实付金额发生变化,使用有货币为0 346 // 实付金额发生变化,使用有货币为0
347 orderInfo('use_yoho_coin', 0); 347 orderInfo('use_yoho_coin', 0);
@@ -491,7 +491,7 @@ function phoneHidden(phone) { @@ -491,7 +491,7 @@ function phoneHidden(phone) {
491 $('.info-phone').html(phoneHidden($('.info-phone').html())); 491 $('.info-phone').html(phoneHidden($('.info-phone').html()));
492 492
493 if (orderInfo('address') && orderInfo('address').is_support === 'N') { 493 if (orderInfo('address') && orderInfo('address').is_support === 'N') {
494 - orderInfo('deliveryId', $('.delivery-id .icon-cb-radio').data('id')); 494 + orderInfo('delivery_way', $('.delivery-id .icon-cb-radio').data('id'));
495 orderCompute(); 495 orderCompute();
496 } 496 }
497 497