|
@@ -209,7 +209,7 @@ var shoppingConfirm = new Vue({
|
|
|
_self.balance.originUserMoney = data.userMoney;
|
|
|
_self.hanldShouldPayFee = data.totalPrice;
|
|
|
_self.svipReducedPrice = data.svipReducedPrice;
|
|
|
- _self.postageParam.productIds = _self.getProductIds(data.list); // 获取订单商品id列表 以 , 隔开
|
|
|
+ _self.postageParam.skuIds = _self.getProductIds(data.list); // 获取订单商品id列表 以 , 隔开
|
|
|
_self.getAddressList(_self.userId,20);
|
|
|
console.log('邮费接口数据', _self.postageParam)
|
|
|
if( data.couponList && data.couponList.length>0){
|
|
@@ -796,14 +796,14 @@ var shoppingConfirm = new Vue({
|
|
|
this.isShowConfirm= true;
|
|
|
},
|
|
|
getProductIds: function(list){// 获取订单商品id列表
|
|
|
- var productIds = [];
|
|
|
+ var skuIds = [];
|
|
|
list.forEach(function(supplier){
|
|
|
supplier.cartList.forEach(function(product){
|
|
|
- productIds.push(product.productId)
|
|
|
+ skuIds.push(product.skuId)
|
|
|
});
|
|
|
})
|
|
|
// console.log(list);
|
|
|
- return productIds.join(',');
|
|
|
+ return skuIds.join(',');
|
|
|
}
|
|
|
},
|
|
|
created: function () {
|