修复结算页面默认选择顺丰快递然后再使用有货币时快递费计算错误的bug
Code Review By Rock Zhang
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -11,7 +11,7 @@ require('../common'); | @@ -11,7 +11,7 @@ require('../common'); | ||
11 | function init() { | 11 | function init() { |
12 | info = { | 12 | info = { |
13 | uid: window.getUid(), | 13 | uid: window.getUid(), |
14 | - deliveryId: 1, | 14 | + deliveryId: $('.dispatch-mode .chosed').data('id') || 1, |
15 | deliveryTimeId: 1, | 15 | deliveryTimeId: 1, |
16 | paymentTypeId: 1, | 16 | paymentTypeId: 1, |
17 | yohoCoin: $('.coin').data('yoho-coin') || 0, | 17 | yohoCoin: $('.coin').data('yoho-coin') || 0, |
-
Please register or login to post a comment