jiazhipeng 4 months ago
parent
commit
7b2d251935
  1. 1
      subPackages/techan/detail.vue
  2. 2
      subPackages/techan/order.vue

1
subPackages/techan/detail.vue

@ -258,6 +258,7 @@
uni.showToast({title: res.msg,icon: 'none'}); uni.showToast({title: res.msg,icon: 'none'});
// uni.$emit("updateDataByConnect", {msgType:'updateCartDataInfo',data:null}) // uni.$emit("updateDataByConnect", {msgType:'updateCartDataInfo',data:null})
this.closePopup() this.closePopup()
this.getCartList()
// this.$refs.cartDataVueRef.openPop() // this.$refs.cartDataVueRef.openPop()
} }
}); });

2
subPackages/techan/order.vue

@ -429,6 +429,7 @@ export default {
} }
}) })
} }
console.log(postPrice)
this.allprice = allPrice + postPrice this.allprice = allPrice + postPrice
if (this.coupon) { if (this.coupon) {
if (this.coupon.activity.fold == 0) { if (this.coupon.activity.fold == 0) {
@ -444,6 +445,7 @@ export default {
} else { } else {
price = allPrice price = allPrice
} }
price=price+postPrice
return price < 0 ? 0 : (price/100).toFixed(2) return price < 0 ? 0 : (price/100).toFixed(2)
}, },
// //

Loading…
Cancel
Save