|
@@ -148,7 +148,7 @@
|
|
|
...mapGetters({ shopUser: 'getShopUser' }),
|
|
...mapGetters({ shopUser: 'getShopUser' }),
|
|
|
// 计算总金额
|
|
// 计算总金额
|
|
|
totalPrice() {
|
|
totalPrice() {
|
|
|
- let totalPrice = this.goodsInfo.price * this.option.goodsNum - freightPrice
|
|
|
|
|
|
|
+ let totalPrice = this.goodsInfo.price * this.option.goodsNum - this.freightPrice
|
|
|
console.log('this.shopUser', this.shopUser)
|
|
console.log('this.shopUser', this.shopUser)
|
|
|
// let discountMember = this.$util.isEmpty(this.shopUser) ? this.shopUser.userAsset.discount * totalPrice : 1 * totalPrice
|
|
// let discountMember = this.$util.isEmpty(this.shopUser) ? this.shopUser.userAsset.discount * totalPrice : 1 * totalPrice
|
|
|
// discountMember = discountMember / 10
|
|
// discountMember = discountMember / 10
|