From e657345ee309d4c1b8a092c5cd7c5b501f9bf4d8 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Tue, 19 Mar 2024 11:43:03 +0800 Subject: [PATCH] fix: bug --- src/pages/overhaulOrder/detail.vue | 4 ++-- src/pages/repairOrder/detail.vue | 4 ++-- src/pages/upkeepOrder/detail.vue | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/overhaulOrder/detail.vue b/src/pages/overhaulOrder/detail.vue index 0c8eb51..c6bbdbb 100644 --- a/src/pages/overhaulOrder/detail.vue +++ b/src/pages/overhaulOrder/detail.vue @@ -181,11 +181,11 @@ } if (clickType == 'updata') { proxy.$tab.navigateTo( - `/pages/overhaulOrder/addServiceRecord?type=${type.value}&factoryAreaNumber=${data.value.factoryAreaNumber}&number=${data.value.number}&data=${encodeURIComponent(JSON.stringify(item))}` + `/pages/overhaulOrder/addServiceRecord?type=${data.value.type}&factoryAreaNumber=${data.value.factoryAreaNumber}&number=${data.value.number}&data=${encodeURIComponent(JSON.stringify(item))}` ) } else { proxy.$tab.navigateTo( - `/pages/overhaulOrder/addServiceRecord?type=${type.value}&factoryAreaNumber=${data.value.factoryAreaNumber}&number=${data.value.number}` + `/pages/overhaulOrder/addServiceRecord?type=${data.value.type}&factoryAreaNumber=${data.value.factoryAreaNumber}&number=${data.value.number}` ) } } diff --git a/src/pages/repairOrder/detail.vue b/src/pages/repairOrder/detail.vue index afcde12..d16a913 100644 --- a/src/pages/repairOrder/detail.vue +++ b/src/pages/repairOrder/detail.vue @@ -282,11 +282,11 @@ } if (clickType == 'updata') { proxy.$tab.navigateTo( - `/pages/repairOrder/addServiceRecord?type=${type.value}&factoryAreaNumber=${data.value.factoryAreaNumber}&number=${data.value.number}&data=${encodeURIComponent(JSON.stringify(item))}` + `/pages/repairOrder/addServiceRecord?type=${data.value.type}&factoryAreaNumber=${data.value.factoryAreaNumber}&number=${data.value.number}&data=${encodeURIComponent(JSON.stringify(item))}` ) } else { proxy.$tab.navigateTo( - `/pages/repairOrder/addServiceRecord?type=${type.value}&factoryAreaNumber=${data.value.factoryAreaNumber}&number=${data.value.number}` + `/pages/repairOrder/addServiceRecord?type=${data.value.type}&factoryAreaNumber=${data.value.factoryAreaNumber}&number=${data.value.number}` ) } } diff --git a/src/pages/upkeepOrder/detail.vue b/src/pages/upkeepOrder/detail.vue index ee25d20..6f16bfb 100644 --- a/src/pages/upkeepOrder/detail.vue +++ b/src/pages/upkeepOrder/detail.vue @@ -184,11 +184,11 @@ } if (clickType == 'updata') { proxy.$tab.navigateTo( - `/pages/upkeepOrder/addServiceRecord?type=${type.value}&factoryAreaNumber=${data.value.factoryAreaNumber}&number=${data.value.number}&data=${encodeURIComponent(JSON.stringify(item))}` + `/pages/upkeepOrder/addServiceRecord?type=${data.value.type}&factoryAreaNumber=${data.value.factoryAreaNumber}&number=${data.value.number}&data=${encodeURIComponent(JSON.stringify(item))}` ) } else { proxy.$tab.navigateTo( - `/pages/upkeepOrder/addServiceRecord?type=${type.value}&factoryAreaNumber=${data.value.factoryAreaNumber}&number=${data.value.number}` + `/pages/upkeepOrder/addServiceRecord?type=${data.value.type}&factoryAreaNumber=${data.value.factoryAreaNumber}&number=${data.value.number}` ) } }