|
@@ -13,7 +13,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="priceColumn">
|
|
<view class="priceColumn">
|
|
<view class="price">
|
|
<view class="price">
|
|
- <text class="unit">¥</text>{{ info.realPrice }}
|
|
|
|
|
|
+ <text class="unit">¥</text>{{ info.platformPrice?info.platformPrice.price:info.realPrice }}
|
|
</view>
|
|
</view>
|
|
<view class="goodsNum">
|
|
<view class="goodsNum">
|
|
x{{ realPay.reservePersons.length }}
|
|
x{{ realPay.reservePersons.length }}
|
|
@@ -110,6 +110,9 @@ import {
|
|
payDetails
|
|
payDetails
|
|
} from '@/api/payment.js'
|
|
} from '@/api/payment.js'
|
|
import { studyOrderCreat } from '@/api/study.js'
|
|
import { studyOrderCreat } from '@/api/study.js'
|
|
|
|
+import {
|
|
|
|
+ calculate
|
|
|
|
+ } from '@/api/order.js';
|
|
import guid from '@/utils/guid.js'
|
|
import guid from '@/utils/guid.js'
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
@@ -197,11 +200,12 @@ export default {
|
|
title: '计算中'
|
|
title: '计算中'
|
|
})
|
|
})
|
|
return new Promise((resolve, reject) => {
|
|
return new Promise((resolve, reject) => {
|
|
- studyCalculate({
|
|
|
|
|
|
+ calculate({
|
|
couponId: this.info.couponId,
|
|
couponId: this.info.couponId,
|
|
"goodsId": goodsId,
|
|
"goodsId": goodsId,
|
|
"shopId": shopId,
|
|
"shopId": shopId,
|
|
"userId": JSON.parse(uni.getStorageSync('userInfo')).userId,
|
|
"userId": JSON.parse(uni.getStorageSync('userInfo')).userId,
|
|
|
|
+ platform:'p-0002',
|
|
"number": this.realPay.reservePersons.length
|
|
"number": this.realPay.reservePersons.length
|
|
}).then(res => {
|
|
}).then(res => {
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|