Fix(订单):[#2488]待发货,待收货点击申请退款正常走退款流程,不提示订单已收货
This commit is contained in:
@@ -729,20 +729,21 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
goGoodsReturn(orderInfo) {
|
goGoodsReturn(orderInfo) {
|
||||||
if(orderInfo.refundSystemStatus === 0) {
|
// fix bug#1631 bug#2488
|
||||||
uni.showToast({
|
if (parseInt(orderInfo._status._type) === 3) {
|
||||||
title: '订单已收货,如需退款请联系商家',
|
if(orderInfo.refundSystemStatus === 0) {
|
||||||
mask: false,
|
uni.showToast({
|
||||||
icon: 'none',
|
title: '订单已收货,如需退款请联系商家',
|
||||||
duration: 3000
|
mask: false,
|
||||||
})
|
icon: 'none',
|
||||||
|
duration: 3000
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/pkg_orders/views/refund?id=${orderInfo.orderId}`
|
||||||
|
})
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// this.$yrouter.push({
|
|
||||||
// path: `/pkg_orders/views/refund?id=${orderInfo.orderId}`,
|
|
||||||
// query: {
|
|
||||||
// id: orderInfo.orderId
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pkg_orders/views/refund?id=${orderInfo.orderId}`
|
url: `/pkg_orders/views/refund?id=${orderInfo.orderId}`
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user