项目:mallApp 问题:从 mallApp/src/pages/home/cart.vue 点击“去结算”跳转到 mallApp/src/pages/billing/affirmMix.vue 时,商品合并时出现问题。实际具体的情况是:[{id: 2116, goodsId: 2116, specGoodsId: "2121", property: 0, classId: 0, name: "多规格花束",…},…] 0: {id: 2116, goodsId: 2116, specGoodsId: "2121", property: 0, classId: 0, name: "多规格花束",…} activityEndTime: 1784908800 activityType: "seckill" bigCount: 1 bigNum: 9999 bigPrice: 5 bigUnit: "份" classId: 0 cover: "http://img.theflorist.cn/uploads/1101/37058/202607/14/f5920eb66a9bf6ca5d0737ad26460500.jpg?x-oss-process=image/resize,m_fill,h_230,w_230" freightType: "1" goodsId: 2116 id: 2116 itemName: "多规格花束" name: "多规格花束" originPrice: 36 price: 5 priceType: "1" property: 0 ratio: 1 smallCount: 0 smallNum: 0 smallPrice: 5 smallUnit: "份" specGoodsId: "2121" specName: "规2" stock: 9999 weight: "1" 1: {id: 2116, goodsId: 2116, specGoodsId: "2120", property: 0, classId: 0, name: "多规格花束",…} activityEndTime: 1784908800 activityType: "seckill" bigCount: 1 bigNum: 9999 bigPrice: 3 bigUnit: "份" classId: 0 cover: "http://img.theflorist.cn/uploads/1101/37058/202607/14/0f2d0439bee901ba13a9ca01757d5f57.jpg?x-oss-process=image/resize,m_fill,h_230,w_230" freightType: "1" goodsId: 2116 id: 2116 itemName: "多规格花束" name: "多规格花束" originPrice: 16 price: 3 priceType: "1" property: 0 ratio: 1 smallCount: 0 smallNum: 0 smallPrice: 3 smallUnit: "份" specGoodsId: "2120" specName: "规1" stock: 9999 weight: "1" 2: {id: "2116", goodsId: "2116", specGoodsId: "2120", property: 0, classId: 0, name: "多规格花束",…} bigCount: 1 bigNum: 9999 bigPrice: 16 bigUnit: "份" classId: 0 cover: "http://img.theflorist.cn/uploads/1101/37058/202607/14/f5920eb66a9bf6ca5d0737ad26460500.jpg?x-oss-process=image/resize,m_fill,h_230,w_230" freightType: "1" goodsId: "2116" id: "2116" itemName: "多规格花束" name: "多规格花束" price: 16 priceType: "1" property: 0 ratio: 1 smallCount: 0 smallNum: 0 smallPrice: 16 smallUnit: "份" specGoodsId: "2120" specName: "规1" stock: 9999 weight: "1"
第2个与第3 个商品数据,在 mallApp/src/pages/billing/affirmMix.vue 被认为是同一种商品,而实际是第2个是秒杀商品(价格为3元),第3个是普通商品(价格为16),在 mallApp/src/pages/billing/affirmMix.vue 下组合商品时出现错误,请结合后端订单结算的逻辑及 mallApp/src/pages/home/cart.vue 判断唯一逻辑,修复这个问题,让最终结果能正常下单
[[修复购物车秒杀商品合并]]