代码更新
This commit is contained in:
@@ -8,8 +8,13 @@ export function getNowCart(carItem,goodsList) {
|
||||
if( carItem.is_temporary != 1 ){
|
||||
goodsList.map(goodsItem => {
|
||||
if(carItem.product_id == goodsItem.id){
|
||||
carItem.lowPrice = goodsItem.lowPrice
|
||||
carItem.lowMemberPrice = goodsItem.lowMemberPrice
|
||||
goodsItem.skuList.map(item=>{
|
||||
if(carItem.sku_id == item.id){
|
||||
carItem.lowPrice = item.salePrice
|
||||
carItem.lowMemberPrice = item.memberPrice
|
||||
carItem.specInfo = item.specInfo
|
||||
}
|
||||
})
|
||||
carItem.name = goodsItem.name
|
||||
carItem.coverImg = goodsItem.coverImg
|
||||
carItem.packFee = goodsItem.packFee
|
||||
|
||||
Reference in New Issue
Block a user