From 73ea7417264a3300f7798fc61e63a40770a1fcd7 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Tue, 6 Jan 2026 20:05:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/EquipmentRetireApply/detail.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/EquipmentRetireApply/detail.vue b/src/views/EquipmentRetireApply/detail.vue index ce402c09..52c5af0f 100644 --- a/src/views/EquipmentRetireApply/detail.vue +++ b/src/views/EquipmentRetireApply/detail.vue @@ -194,11 +194,11 @@ export default { async getDetail() { const id = this.$route.query.id if (id === 'new') { - this.isNew = false + this.isNew = true this.baseInfo.createUser = this.$store.state.user?.nickName || '当前用户' this.baseInfo.createTime = new Date().toLocaleString() } else { - this.isNew = true + this.isNew = false // 从query参数中获取任务基本信息 const taskInfoStr = this.$route.query.taskInfo if (taskInfoStr) {