Fix(订单):[#2488]待发货,待收货点击申请退款正常走退款流程,不提示订单已收货

This commit is contained in:
lifizer
2024-10-14 14:27:53 +08:00
parent f5b3174acc
commit 15c427edf7
+7 -6
View File
@@ -729,6 +729,8 @@ export default {
}) })
}, },
goGoodsReturn(orderInfo) { goGoodsReturn(orderInfo) {
// fix bug#1631 bug#2488
if (parseInt(orderInfo._status._type) === 3) {
if(orderInfo.refundSystemStatus === 0) { if(orderInfo.refundSystemStatus === 0) {
uni.showToast({ uni.showToast({
title: '订单已收货,如需退款请联系商家', title: '订单已收货,如需退款请联系商家',
@@ -737,12 +739,11 @@ export default {
duration: 3000 duration: 3000
}) })
} else { } else {
// this.$yrouter.push({ uni.navigateTo({
// path: `/pkg_orders/views/refund?id=${orderInfo.orderId}`, url: `/pkg_orders/views/refund?id=${orderInfo.orderId}`
// query: { })
// id: orderInfo.orderId }
// } } else {
// });
uni.navigateTo({ uni.navigateTo({
url: `/pkg_orders/views/refund?id=${orderInfo.orderId}` url: `/pkg_orders/views/refund?id=${orderInfo.orderId}`
}) })