diff --git a/package2/partTimeJob/partTimeJobCenter.vue b/package2/partTimeJob/partTimeJobCenter.vue index 39c1263..fd805bd 100644 --- a/package2/partTimeJob/partTimeJobCenter.vue +++ b/package2/partTimeJob/partTimeJobCenter.vue @@ -11,62 +11,48 @@ - + + + + + {{'#' + item.mallOrder.numberCode}} + + + {{item.createTime | formatISOTime}} + + + + {{item.status == 0?'待退款':item.status == 3?'待售后':""}} + - - - 金额¥{{item.refundAmount}} + + + 退款原因: {{item.refundTypeStatus == 1?'商家原因':item.refundTypeStatus == 2?'配送原因':item.refundTypeStatus == 3?'商家/配送都有原因(需要退配送费)':item.refundTypeStatus == 4?'平台退款':""}} + + 退款类型: {{item.refundType == 1?'退商品':item.refundType == 2?'退配送费':item.refundType == 3?'全额退款':""}} + 退款金额: ¥{{item.refundAmount}} - - - 查看订单 + + + + 查看订单 + - + 不同意 - + 同意 - + @@ -343,7 +329,7 @@ } - \ No newline at end of file diff --git a/package2/shop/shopOrderList.vue b/package2/shop/shopOrderList.vue index ada7510..17d426c 100644 --- a/package2/shop/shopOrderList.vue +++ b/package2/shop/shopOrderList.vue @@ -17,7 +17,7 @@ + @click="handleStatusClick(item.value)"> {{ item.name }} @@ -242,12 +242,12 @@ statusList: [0, 3], regionId: JSON.parse(uni.getStorageSync('area')).id } - if (this.currentIndex == 11) { + if (this.currentIndex == 7) { url = "/mall/refund/page" } else { url = "/mall/order/page" } - that.tui.request(url, "POST", this.currentIndex == 11 ? data : this.searchForm, false, false).then(( + that.tui.request(url, "POST", this.currentIndex == 7 ? data : this.searchForm, false, false).then(( res) => { that.loadStatus = 'nomore'; if (res.code == 200) { @@ -323,12 +323,12 @@ url: '/package2/shop/orderDetail?id=' + id }) }, - handleStatusClick(index, value) { - this.getList() + handleStatusClick(index) { + this.searchForm.pageNum = 1 if (this.currentIndex === index) return; this.currentIndex = index; - this.searchForm.searchStatus = value - + this.searchForm.searchStatus = index + this.getList() }, back() { uni.navigateBack()