From 7b8f6466a671824379ed43f0cba080ac37c37b78 Mon Sep 17 00:00:00 2001 From: Haiyi <1021441632@qq.com> Date: Fri, 18 Nov 2022 15:00:29 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(ID1000752):=E5=89=AA?= =?UTF-8?q?=E7=89=88=E5=B7=B2=E6=94=B6=E8=B4=A7=E5=90=8E=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E9=80=80=E8=B4=A7=E9=80=80=E6=AC=BE=EF=BC=8C=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E8=B4=A8=E9=87=8F/=E9=9D=9E=E8=B4=A8?= =?UTF-8?q?=E9=87=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/orderDetails/index.tsx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/pages/orderDetails/index.tsx b/src/pages/orderDetails/index.tsx index 40b8ff1..e9dfa2e 100644 --- a/src/pages/orderDetails/index.tsx +++ b/src/pages/orderDetails/index.tsx @@ -539,10 +539,16 @@ export default () => { //申请退款 const handApplyMoney = () => { - - Taro.navigateTo({ - url: '/pages/applyMoney/index?orderId=' + infoObj.id - }) + //三种类型的 待收货,已收货后申请退货退款,需要选择质量/非质量问题 + if (infoObj?.status == 8 || infoObj?.status == 9) { + Taro.navigateTo({ + url: '/pages/applyGoods/index?orderId=' + infoObj.id + }) + } else { + Taro.navigateTo({ + url: '/pages/applyMoney/index?orderId=' + infoObj.id + }) + } setShowMore(false) }