Authored by 郭成尧

delivery_way

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