Fix:2445 【商城小程序】未打开售后的待评价订单,点击订单详情页的【申请退款】按钮仍然可以退款。
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
<view class="state v12-primary-text v12-font-32 v12-font-bold" v-else>{{ getStatus(orderInfo) }}</view>
|
<view class="state v12-primary-text v12-font-32 v12-font-bold" v-else>{{ getStatus(orderInfo) }}</view>
|
||||||
<view v-if="getStatus(orderInfo)!=='待付款'" class="v12-mt-2 v12-font-24 v12-secondary-dark-text" :class="{'fails-bg': orderInfo._status._type == -3}">
|
<view v-if="getStatus(orderInfo)!=='待付款'" class="v12-mt-2 v12-font-24 v12-secondary-dark-text" :class="{'fails-bg': orderInfo._status._type == -3}">
|
||||||
<view>{{ orderInfo._status._msg }}</view>
|
<view>{{ orderInfo._status._msg }}</view>
|
||||||
<view>驳回原因: {{ orderInfo.refundReasonWap }}</view>
|
<view v-if="orderInfo._status._type == -3">驳回原因: {{ orderInfo.refundReasonWap }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="pending-payments flex ai-center v12-mt-2 v12-font-24 v12-secondary-dark-text" v-else>
|
<view class="pending-payments flex ai-center v12-mt-2 v12-font-24 v12-secondary-dark-text" v-else>
|
||||||
<text>需支付{{ orderInfo.payPrice }}元,</text>
|
<text>需支付{{ orderInfo.payPrice }}元,</text>
|
||||||
@@ -347,7 +347,7 @@
|
|||||||
<view class="bnt v12-dark-text v12-dark-border cancel" @click="goRoom(orderInfo)">联系商家</view>
|
<view class="bnt v12-dark-text v12-dark-border cancel" @click="goRoom(orderInfo)">联系商家</view>
|
||||||
<view class="v12-justify-between">
|
<view class="v12-justify-between">
|
||||||
<view class="" style="position: relative">
|
<view class="" style="position: relative">
|
||||||
<text class="btn-more v12-font-24 v12-mr-2" @click.stop="showMore = !showMore">更多</text>
|
<view class="btn-more v12-font-24 v12-mr-2" @click.stop="showMore = !showMore">更多</view>
|
||||||
<view class="group-float" v-show="showMore" :style="{top: orderInfo.isExtendedDelivery==0 ? '-60px' : '-32px'}">
|
<view class="group-float" v-show="showMore" :style="{top: orderInfo.isExtendedDelivery==0 ? '-60px' : '-32px'}">
|
||||||
<view v-if="orderInfo.isExtendedDelivery==0" class="btn flex jc-center ai-center v12-font-24" @click="toDelay(orderInfo.orderId)">延长收货</view>
|
<view v-if="orderInfo.isExtendedDelivery==0" class="btn flex jc-center ai-center v12-font-24" @click="toDelay(orderInfo.orderId)">延长收货</view>
|
||||||
<view class="btn flex jc-center ai-center v12-font-24" @click="goGoodsReturn(orderInfo)">申请退款</view>
|
<view class="btn flex jc-center ai-center v12-font-24" @click="goGoodsReturn(orderInfo)">申请退款</view>
|
||||||
@@ -549,7 +549,7 @@ export default {
|
|||||||
copyClipboard,
|
copyClipboard,
|
||||||
handleBody() {
|
handleBody() {
|
||||||
this.showMore = false
|
this.showMore = false
|
||||||
this.$forceUpdate()
|
// this.$forceUpdate()
|
||||||
},
|
},
|
||||||
getExpressInfo() {
|
getExpressInfo() {
|
||||||
let params = {
|
let params = {
|
||||||
@@ -729,12 +729,21 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
goGoodsReturn(orderInfo) {
|
goGoodsReturn(orderInfo) {
|
||||||
this.$yrouter.push({
|
if(orderInfo.refundSystemStatus === 0) {
|
||||||
path: "/pages/order/GoodsReturn/index",
|
uni.showToast({
|
||||||
query: {
|
title: '订单已收货,如需退款请联系商家',
|
||||||
id: orderInfo.orderId
|
mask: false,
|
||||||
}
|
icon: 'none',
|
||||||
});
|
duration: 3000
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$yrouter.push({
|
||||||
|
path: "/pages/order/GoodsReturn/index",
|
||||||
|
query: {
|
||||||
|
id: orderInfo.orderId
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
goGroupRule(orderInfo) {
|
goGroupRule(orderInfo) {
|
||||||
this.$yrouter.push({
|
this.$yrouter.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user