This commit is contained in:
2020-07-21 21:02:28 +08:00
parent 864f43e200
commit c89099f686
18 changed files with 611 additions and 118 deletions

View File

@@ -100,7 +100,8 @@ export default {
// ifcart 结算方式 1:购物车 0:直接结算(立即购买/拼团/秒杀)
this.$u.api.settlementOrder({ ifcart: 1, cart_id: id }).then(res => {
if(res.errCode == 0) {
this.$store.commit('updateCart', res.data)
this.$store.commit('orderType', 2);
this.$store.commit('updateOrderInfo', res.data);
this.$u.route({
url: '/pageC/cart/ConfirmOrder'
})