wangfukang 1 month ago
parent
commit
23efcc50fc
  1. 2
      package1/buyFood/buyFood.vue
  2. 7
      package2/partTimeJob/partTimeJobCenter.vue
  3. 5
      package2/shop/merchantCenter.vue
  4. 16
      package2/shop/orderDetail.vue
  5. 2
      package2/shop/shopOrderList.vue

2
package1/buyFood/buyFood.vue

@ -361,7 +361,7 @@
alt="" alt=""
style="width: 90rpx;height: 90rpx;border-radius: 90rpx;margin: 0 auto;display: block;" /> style="width: 90rpx;height: 90rpx;border-radius: 90rpx;margin: 0 auto;display: block;" />
</view> </view>
<view class="kaituan22" v-for="n in groupItem.groupRule.groupCount - 1"> <view class="kaituan22" v-for="(n,index) in groupItem.groupRule.groupCount - 1" :key="index">
<view class="weipincheng"> <view class="weipincheng">
+ +
</view> </view>

7
package2/partTimeJob/partTimeJobCenter.vue

@ -6,7 +6,7 @@
<uni-icons type="left" size="28"></uni-icons> <uni-icons type="left" size="28"></uni-icons>
</view> </view>
<view class="title-name" :style="{'padding-top': menuButtonInfo.top +'px'}"> <view class="title-name" :style="{'padding-top': menuButtonInfo.top +'px'}">
兼职主页 待退款/售后{{returnCount}}
</view> </view>
</view> </view>
</view> </view>
@ -16,7 +16,7 @@
待退款/售后{{returnCount}} 待退款/售后{{returnCount}}
</view> </view>
</view> --> </view> -->
<view class="box1" @tap="goDetail(item.id)" v-for="(item,index) in returnData" :key="index"> <view class="box1" v-for="(item,index) in returnData" :key="index">
<view style="display: flex;height: 50rpx;border-bottom: 1px solid #eee;"> <view style="display: flex;height: 50rpx;border-bottom: 1px solid #eee;">
<view style="display: flex;"> <view style="display: flex;">
{{'#' + item.mallOrder.numberCode}} {{'#' + item.mallOrder.numberCode}}
@ -43,9 +43,6 @@
查看订单 查看订单
</view> </view>
</view> </view>
<view v-if="item.mallOrder.orderType != 1" @tap.stop="getGroupOrders(item.mallOrder.id)" class="pinzi">
</view>
<view class="btn" @tap="returnAmountAllow(item,0)" style="background: rgba(0, 35, 28, 1);color: rgba(166, 255, 234, 1);"> <view class="btn" @tap="returnAmountAllow(item,0)" style="background: rgba(0, 35, 28, 1);color: rgba(166, 255, 234, 1);">
不同意 不同意
</view> </view>

5
package2/shop/merchantCenter.vue

@ -188,10 +188,11 @@
}, },
onShow() { onShow() {
this.menuButtonInfo = uni.getMenuButtonBoundingClientRect() this.menuButtonInfo = uni.getMenuButtonBoundingClientRect()
},
onLoad(option) {
this.getBusinessStatus() this.getBusinessStatus()
this.getData() this.getData()
},
onLoad(option) {
}, },
methods: { methods: {
getData(){ getData(){

16
package2/shop/orderDetail.vue

@ -91,7 +91,7 @@
平台服务费 平台服务费
</view> </view>
<view class=""> <view class="">
{{(data.chouyong).toFixed(2)}} {{data.chouyong ?data.chouyong:0}}
</view> </view>
</view> </view>
</view> </view>
@ -139,7 +139,7 @@
预计收入 预计收入
</view> </view>
<view style="color: red;font-weight: 700;"> <view style="color: red;font-weight: 700;">
{{(data.yujishouru).toFixed(2)}} {{data.yujishouru?data.yujishouru:0}}
</view> </view>
</view> </view>
<view style="margin-top: 20rpx;"> <view style="margin-top: 20rpx;">
@ -158,7 +158,7 @@
<text>{{data.groupInfo.targetMembers}}人团/</text><text>已拼{{data.groupInfo.currentMembers}}</text> <text>{{data.groupInfo.targetMembers}}人团/</text><text>已拼{{data.groupInfo.currentMembers}}</text>
</view> </view>
<view class="kaituan2"> <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 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="z-index: 99;position: absolute;top:0;width: 90rpx;height: 90rpx;border-radius: 90rpx;border:4rpx solid #48D1CC"></view>
<view style=""> <view style="">
@ -225,13 +225,13 @@
// //
let price = that.data.goodsAmount+that.data.packageFee let price = that.data.goodsAmount+that.data.packageFee
if(that.data.orderType == 1){ if(that.data.orderType == 1){
that.data.chouyong = price/100 * uni.getStorageSync('shopTakeaway').commissionRateOne that.data.chouyong = (price/100 * uni.getStorageSync('shopTakeaway').commissionRateOne).toFixed(2)
that.data.yujishouru = price - that.data.chouyong that.data.yujishouru = (price - that.data.chouyong).toFixed(2)
}else{ }else{
that.data.chouyong = price/100 * uni.getStorageSync('shopTakeaway').commissionRateMore that.data.chouyong = (price/100 * uni.getStorageSync('shopTakeaway').commissionRateMore).toFixed(2)
that.data.yujishouru = price - that.data.chouyong 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(','); that.data.groupInfo.groupIdList = that.data.groupInfo.groupOrderIds.split(',');
} }

2
package2/shop/shopOrderList.vue

@ -201,7 +201,7 @@
if (this.searchForm.pageNum >= this.totalPages) return; if (this.searchForm.pageNum >= this.totalPages) return;
// this.status = 'loading'; // this.status = 'loading';
this.searchForm.pageNum++; this.searchForm.pageNum++;
this.getOrderList(); this.getList();
}, },
filters: { filters: {
formatISOTime(isoString) { formatISOTime(isoString) {

Loading…
Cancel
Save