diff --git a/package2/partTimeJob/partTimeJobCenter.vue b/package2/partTimeJob/partTimeJobCenter.vue index 17f44a5..4b20fd8 100644 --- a/package2/partTimeJob/partTimeJobCenter.vue +++ b/package2/partTimeJob/partTimeJobCenter.vue @@ -6,7 +6,7 @@ - 兼职主页 + 待退款/售后{{returnCount}} @@ -16,7 +16,7 @@ 待退款/售后{{returnCount}} --> - + {{'#' + item.mallOrder.numberCode}} @@ -43,9 +43,6 @@ 查看订单 - - 拼 - 不同意 diff --git a/package2/shop/merchantCenter.vue b/package2/shop/merchantCenter.vue index d81c341..89c28d1 100644 --- a/package2/shop/merchantCenter.vue +++ b/package2/shop/merchantCenter.vue @@ -188,10 +188,11 @@ }, onShow() { this.menuButtonInfo = uni.getMenuButtonBoundingClientRect() - }, - onLoad(option) { this.getBusinessStatus() this.getData() + }, + onLoad(option) { + }, methods: { getData(){ diff --git a/package2/shop/orderDetail.vue b/package2/shop/orderDetail.vue index 15150a6..a450fc8 100644 --- a/package2/shop/orderDetail.vue +++ b/package2/shop/orderDetail.vue @@ -91,7 +91,7 @@ 平台服务费 - ¥{{(data.chouyong).toFixed(2)}} + ¥{{data.chouyong ?data.chouyong:0}} @@ -139,7 +139,7 @@ 预计收入 - ¥{{(data.yujishouru).toFixed(2)}} + ¥{{data.yujishouru?data.yujishouru:0}} @@ -158,7 +158,7 @@ {{data.groupInfo.targetMembers}}人团/已拼{{data.groupInfo.currentMembers}}人 - + @@ -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(','); } diff --git a/package2/shop/shopOrderList.vue b/package2/shop/shopOrderList.vue index cb9b654..5edf0c6 100644 --- a/package2/shop/shopOrderList.vue +++ b/package2/shop/shopOrderList.vue @@ -201,7 +201,7 @@ if (this.searchForm.pageNum >= this.totalPages) return; // this.status = 'loading'; this.searchForm.pageNum++; - this.getOrderList(); + this.getList(); }, filters: { formatISOTime(isoString) {