Fix(订单):[#1314]待评价订单,点击更多—申请退款—直接弹窗提示“订单已收货,如需退款请联系客服”即可,无需跳转到申请退款页面

This commit is contained in:
lifizer
2024-04-26 18:38:06 +08:00
parent c91409150f
commit 5f7073ca4e
+12 -9
View File
@@ -200,15 +200,18 @@ export default {
}) })
}, },
goRefund(order) { goRefund(order) {
uni.showToast({ if (this.type === 4) {
title: '订单已收货,如需退款请联系客服', uni.showToast({
mask: false, title: '订单已收货,如需退款请联系客服',
icon: 'none', mask: false,
duration: 3000 icon: 'none',
}) duration: 3000
// uni.navigateTo({ })
// url: `/pkg_orders/views/refund?id=${order.orderId}` } else {
// }) uni.navigateTo({
url: `/pkg_orders/views/refund?id=${order.orderId}`
})
}
}, },
goLogistics(order) { goLogistics(order) {
this.$yrouter.push({ this.$yrouter.push({