From 475ed3b57b7e8876461008065ea186f01f0fcfe2 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期日, 28 四月 2024 11:53:43 +0800
Subject: [PATCH] 工种管理模块 列表薪资方案,编辑薪资方案 2个地方的数据重组处理

---
 src/views/systemSetting/workshopManage/components/addDialog.vue |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/views/systemSetting/workshopManage/components/addDialog.vue b/src/views/systemSetting/workshopManage/components/addDialog.vue
index 6135db5..06b7048 100644
--- a/src/views/systemSetting/workshopManage/components/addDialog.vue
+++ b/src/views/systemSetting/workshopManage/components/addDialog.vue
@@ -138,7 +138,14 @@
 
   },
   watch: {
-
+    'editConfig.visible'(newVal) {
+      if (newVal) {
+        this.$nextTick(()=>{
+          this.$refs["ruleForm"].resetFields();
+          this.editConfig=this.editDiaConfig
+        })
+      }
+    },
   },
   methods: {
     handleClose(done) {

--
Gitblit v1.8.0