From 06d627bc28e77e1a314d8e35914512d63dbab1bd Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期五, 20 三月 2026 17:14:48 +0800
Subject: [PATCH] fix: 点击取消时将表单子元素全部销毁

---
 src/views/productionPlan/productionPlan/index.vue |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/views/productionPlan/productionPlan/index.vue b/src/views/productionPlan/productionPlan/index.vue
index aec4eed..30e1a3c 100644
--- a/src/views/productionPlan/productionPlan/index.vue
+++ b/src/views/productionPlan/productionPlan/index.vue
@@ -111,6 +111,7 @@
     </div>
     <!-- 鍚堝苟涓嬪彂寮圭獥 -->
     <el-dialog v-model="isShowNewModal"
+               destroy-on-close
                title="鍚堝苟涓嬪彂"
                width="600px">
       <el-form :model="mergeForm"
@@ -182,6 +183,7 @@
     </el-dialog>
     <!-- 杩借釜杩涘害寮圭獥 -->
     <el-dialog v-model="showTrackProgressDialog"
+               destroy-on-close
                :title="`杩借釜杩涘害 - ${trackProgressForm.materialCode || ''}`"
                width="600px">
       <el-form :model="trackProgressForm"
@@ -260,6 +262,7 @@
                   @close="handleImportClose" />
     <!-- 鏂板/缂栬緫寮圭獥 -->
     <el-dialog v-model="dialogVisible"
+               destroy-on-close
                :title="operationType === 'add' ? '鏂板鐢熶骇璁″垝' : '缂栬緫鐢熶骇璁″垝'"
                width="600px">
       <el-form ref="formRef"

--
Gitblit v1.9.3