|
@@ -37,7 +37,7 @@ class cartModel extends global.yoho.BaseModel { |
|
@@ -37,7 +37,7 @@ class cartModel extends global.yoho.BaseModel { |
37
|
|
37
|
|
38
|
// 是否需要重新计算
|
38
|
// 是否需要重新计算
|
39
|
let needReComputer = orderInfoCookie && !_.isEmpty(orderInfoCookie) &&
|
39
|
let needReComputer = orderInfoCookie && !_.isEmpty(orderInfoCookie) &&
|
40
|
- (orderInfoCookie.yohoCoin || orderInfoCookie.user_check_coupon === 'Y');
|
40
|
+ (orderInfoCookie.yohoCoin || orderInfoCookie.user_check_coupon === 'Y' || orderInfoCookie.gift_card_code);
|
41
|
|
41
|
|
42
|
if (needReComputer) {
|
42
|
if (needReComputer) {
|
43
|
orderInfoCookie.paymentType = orderInfoCookie.paymentType ? orderInfoCookie.paymentType : '';
|
43
|
orderInfoCookie.paymentType = orderInfoCookie.paymentType ? orderInfoCookie.paymentType : '';
|