From 16d4425e07686b69129455c28345fc45ed0601d1 Mon Sep 17 00:00:00 2001 From: zhoulinf <2507241354@qq.com> Date: Thu, 19 Jun 2025 18:00:36 +0800 Subject: [PATCH] =?UTF-8?q?task#6524=20=E6=9C=89=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E6=89=8D=E8=AE=BF=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/report/reportIndex.vue | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/views/report/reportIndex.vue b/src/views/report/reportIndex.vue index e7147bc6..8e5917f2 100644 --- a/src/views/report/reportIndex.vue +++ b/src/views/report/reportIndex.vue @@ -263,11 +263,16 @@ this.scrollToBottom(); }, async getDetail(){ // 订单详情 - let result = await getOrderInfo({ - userOrderId: this.userOrderId, - userOrderCode: this.userOrderCode - }) - this.orderInfo = result.data + if(this.userOrderId) { + let result = await getOrderInfo({ + userOrderId: this.userOrderId, + userOrderCode: this.userOrderCode + }) + this.orderInfo = result.data + } else { + this.orderInfo = {} + } + }, async getReportList() { // 报备大类 let res = await getReportListByOrder({