From 38392fd2ea3d506fdf419a37c8844e427251634c Mon Sep 17 00:00:00 2001 From: Lj <1095098147@qq.com> Date: Fri, 27 Jun 2025 19:35:07 +0800 Subject: [PATCH] =?UTF-8?q?'=E4=BF=AE=E6=94=B9=E6=9F=A5=E7=9C=8B=E8=B4=A8?= =?UTF-8?q?=E6=A3=80=E9=80=BB=E8=BE=91'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/subcomponent/detail.vue | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/pages/subcomponent/detail.vue b/pages/subcomponent/detail.vue index 7f00c56..f4c5a7f 100644 --- a/pages/subcomponent/detail.vue +++ b/pages/subcomponent/detail.vue @@ -237,18 +237,10 @@ export default { // 查看完整地址 }, viewReport() { - if(this.currentStatus.text.includes("已结款") ){ - // 查看质检报告 - uni.navigateTo({ - url: '/pages/component/inspection?status=qualified' - }) - }else { - // 查看质检报告 - uni.navigateTo({ - url: '/pages/component/inspection?status=unqualified' - }) - } - + // 查看质检报告,传入orderId + uni.navigateTo({ + url: `/pages/subcomponent/inspection-report?orderId=${this.orderId}` + }) }, editOrder() { // 修改订单