Authored by hf

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop

@@ -10,7 +10,8 @@ var $ = require('jquery'), @@ -10,7 +10,8 @@ var $ = require('jquery'),
10 lazyLoad = require('yoho.lazyload'); 10 lazyLoad = require('yoho.lazyload');
11 11
12 var dialog = require('../me/dialog'), 12 var dialog = require('../me/dialog'),
13 - tip = require('../plugin/tip'); 13 + tip = require('../plugin/tip'),
  14 + orderInfo = require('./order-info').orderInfo;
14 15
15 var $selectAllBtn = $('.balance .checkbox'), 16 var $selectAllBtn = $('.balance .checkbox'),
16 cartType = $('#cartType').val(), 17 cartType = $('#cartType').val(),
@@ -106,6 +107,8 @@ $('.cart-goods').on('touchstart', '.checkbox', function() { @@ -106,6 +107,8 @@ $('.cart-goods').on('touchstart', '.checkbox', function() {
106 autoHide: true, 107 autoHide: true,
107 fast: true 108 fast: true
108 }); 109 });
  110 + orderInfo('couponCode', null);
  111 + orderInfo('couponValue', null);
109 history.go(0); 112 history.go(0);
110 } else { 113 } else {
111 tip.show(data.message); 114 tip.show(data.message);
@@ -223,5 +226,3 @@ $selectAllBtn.on('touchend', function() { @@ -223,5 +226,3 @@ $selectAllBtn.on('touchend', function() {
223 $('.down').on('touchend', function() { 226 $('.down').on('touchend', function() {
224 chosePanel.show(); 227 chosePanel.show();
225 }); 228 });
226 -  
227 -