From 5aba1bf12cd27faa797e7f3d15e0f960bdc2a4b2 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期五, 05 七月 2024 16:57:09 +0800
Subject: [PATCH] 优化界面

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Project/05-CatlogManage/00-ViewModel/CatlogViewModel.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Project/05-CatlogManage/00-ViewModel/CatlogViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Project/05-CatlogManage/00-ViewModel/CatlogViewModel.cs
index cad14a7..28b97a0 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Project/05-CatlogManage/00-ViewModel/CatlogViewModel.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Project/05-CatlogManage/00-ViewModel/CatlogViewModel.cs
@@ -12,5 +12,13 @@
             this.SortCode = rhs.SortCode;
             this.Code = rhs.Code;
         }
+
+        public void Reset(Yw.Dto.UpdateSysCatalogInput rhs)
+        {
+            this.ID = rhs.ID;
+            this.Description = rhs.Description;
+            this.Name = rhs.Name;
+            this.Code = rhs.Code;
+        }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3