zs 2 år sedan
förälder
incheckning
9994c38c15
3 ändrade filer med 5 tillägg och 6 borttagningar
  1. 1 1
      pagesHome/group/index.vue
  2. 2 3
      pagesHome/order/order.vue
  3. 2 2
      pagesMy/order/index.vue

+ 1 - 1
pagesHome/group/index.vue

@@ -16,7 +16,7 @@
 						</view>
 						<view class="money">
 							<text>¥</text>
-							<text>{{specsInfo.sell_money}}</text>
+							<text>{{specsInfo.group_config.money}}</text>
 						</view>
 					</view>
 				</view>

+ 2 - 3
pagesHome/order/order.vue

@@ -244,7 +244,8 @@
 						address: that.address,
 						goods: that.orderList,
 						total_detail: that.total_detail,
-						coupon: that.coupon
+						coupon: that.coupon,
+						type: that.type
 					}
 					const arr = await that.$api(`/order`, 'POST', data)
 					if (arr.errcode == '0') {
@@ -376,8 +377,6 @@
 				}
 				if (total >= 0) {
 					this.$set(this, `goods_total`, total);
-					console.log(total);
-					console.log(this.total_detail);
 				} else {
 					uni.showToast({
 						title: `实付金额不能为负数 不能使用该优惠劵`,

+ 2 - 2
pagesMy/order/index.vue

@@ -39,7 +39,7 @@
 														¥{{tags.sell_money}}
 													</view>
 													<view v-else class="price">
-														¥{{tags.group_sell_money}}
+														¥{{tags.group_config.money}}
 													</view>
 													<view class="num">
 														×{{tags.buy_num}}
@@ -94,7 +94,7 @@
 														¥{{tags.sell_money}}
 													</view>
 													<view v-else class="price">
-														¥{{tags.group_sell_money}}
+														¥{{tags.group_config.money}}
 													</view>
 													<view class="num">
 														×{{tag.buy_num}}