|
|
|
@ -91,7 +91,7 @@ |
|
|
|
平台服务费 |
|
|
|
</view> |
|
|
|
<view class=""> |
|
|
|
¥{{(data.chouyong).toFixed(2)}} |
|
|
|
¥{{data.chouyong ?data.chouyong:0}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -139,7 +139,7 @@ |
|
|
|
预计收入 |
|
|
|
</view> |
|
|
|
<view style="color: red;font-weight: 700;"> |
|
|
|
¥{{(data.yujishouru).toFixed(2)}} |
|
|
|
¥{{data.yujishouru?data.yujishouru:0}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view style="margin-top: 20rpx;"> |
|
|
|
@ -158,7 +158,7 @@ |
|
|
|
<text>{{data.groupInfo.targetMembers}}人团/</text><text>已拼{{data.groupInfo.currentMembers}}人</text> |
|
|
|
</view> |
|
|
|
<view class="kaituan2"> |
|
|
|
<view class="kaituan22" style="display: flex;"> |
|
|
|
<view class="kaituan22" style="display: flex;" v-if="data.groupInfo"> |
|
|
|
<view class="" @tap="goDetail(item)" v-for="(item,index) in data.groupInfo.groupIdList" :key="index" style="width: 90rpx;height: 90rpx;margin: 0 auto;position: relative;"> |
|
|
|
<view style="z-index: 99;position: absolute;top:0;width: 90rpx;height: 90rpx;border-radius: 90rpx;border:4rpx solid #48D1CC"></view> |
|
|
|
<view style=""> |
|
|
|
@ -225,13 +225,13 @@ |
|
|
|
//商家预计收入的计算 |
|
|
|
let price = that.data.goodsAmount+that.data.packageFee |
|
|
|
if(that.data.orderType == 1){ |
|
|
|
that.data.chouyong = price/100 * uni.getStorageSync('shopTakeaway').commissionRateOne |
|
|
|
that.data.yujishouru = price - that.data.chouyong |
|
|
|
that.data.chouyong = (price/100 * uni.getStorageSync('shopTakeaway').commissionRateOne).toFixed(2) |
|
|
|
that.data.yujishouru = (price - that.data.chouyong).toFixed(2) |
|
|
|
}else{ |
|
|
|
that.data.chouyong = price/100 * uni.getStorageSync('shopTakeaway').commissionRateMore |
|
|
|
that.data.yujishouru = price - that.data.chouyong |
|
|
|
that.data.chouyong = (price/100 * uni.getStorageSync('shopTakeaway').commissionRateMore).toFixed(2) |
|
|
|
that.data.yujishouru = (price - that.data.chouyong).toFixed(2) |
|
|
|
} |
|
|
|
if(that.data.groupInfo != null){ |
|
|
|
if(that.data.groupInfo != null && that.data.groupInfo != undefined){ |
|
|
|
that.data.groupInfo.groupIdList = that.data.groupInfo.groupOrderIds.split(','); |
|
|
|
} |
|
|
|
|
|
|
|
|