From 5f7073ca4e6282ffcc150bfd347fe47100536100 Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Fri, 26 Apr 2024 18:38:06 +0800 Subject: [PATCH] =?UTF-8?q?Fix(=E8=AE=A2=E5=8D=95):[#1314]=E5=BE=85?= =?UTF-8?q?=E8=AF=84=E4=BB=B7=E8=AE=A2=E5=8D=95=EF=BC=8C=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E6=9B=B4=E5=A4=9A=E2=80=94=E7=94=B3=E8=AF=B7=E9=80=80=E6=AC=BE?= =?UTF-8?q?=E2=80=94=E7=9B=B4=E6=8E=A5=E5=BC=B9=E7=AA=97=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E2=80=9C=E8=AE=A2=E5=8D=95=E5=B7=B2=E6=94=B6=E8=B4=A7=EF=BC=8C?= =?UTF-8?q?=E5=A6=82=E9=9C=80=E9=80=80=E6=AC=BE=E8=AF=B7=E8=81=94=E7=B3=BB?= =?UTF-8?q?=E5=AE=A2=E6=9C=8D=E2=80=9D=E5=8D=B3=E5=8F=AF=EF=BC=8C=E6=97=A0?= =?UTF-8?q?=E9=9C=80=E8=B7=B3=E8=BD=AC=E5=88=B0=E7=94=B3=E8=AF=B7=E9=80=80?= =?UTF-8?q?=E6=AC=BE=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/MyOrder/index.vue | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pages/order/MyOrder/index.vue b/pages/order/MyOrder/index.vue index 28ccce3..4d0711c 100644 --- a/pages/order/MyOrder/index.vue +++ b/pages/order/MyOrder/index.vue @@ -200,15 +200,18 @@ export default { }) }, goRefund(order) { - uni.showToast({ - title: '订单已收货,如需退款请联系客服', - mask: false, - icon: 'none', - duration: 3000 - }) - // uni.navigateTo({ - // url: `/pkg_orders/views/refund?id=${order.orderId}` - // }) + if (this.type === 4) { + uni.showToast({ + title: '订单已收货,如需退款请联系客服', + mask: false, + icon: 'none', + duration: 3000 + }) + } else { + uni.navigateTo({ + url: `/pkg_orders/views/refund?id=${order.orderId}` + }) + } }, goLogistics(order) { this.$yrouter.push({