From 1c01a7dcb7e8004d1bc7e83de247e004b4f1ee27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Fri, 26 Sep 2025 15:30:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=A1=E6=A3=80=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E7=8A=B6=E6=80=81=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/workOrderDashboard/addRoutingInspection/index.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/workOrderDashboard/addRoutingInspection/index.vue b/packages/workOrderDashboard/addRoutingInspection/index.vue index 75366022..def04e6e 100644 --- a/packages/workOrderDashboard/addRoutingInspection/index.vue +++ b/packages/workOrderDashboard/addRoutingInspection/index.vue @@ -15,7 +15,7 @@ {{ option.point_info.point_name }} @@ -87,12 +87,11 @@ export default { this.pointsList = res.task_point_info }, selectPointHandler(option) { - console.log("🚀 ~ selectPointHandler ~ option:", option) // 安全检查,确保必要的属性存在 if (option && option.point_info && option.point_info.point_name) { // 根据实际数据结构选择正确的id属性 - this.selectedPoint = option.location_info && option.point_id - ? option.point_id + this.selectedPoint = option.location_info && option.id + ? option.id : option.id || option.point_info.point_name this.selectedPointInfo = option // 保存完整的点位信息 this.searchKeyword = option.point_info.point_name