From 06a92956009d512f7816b2465c39235853cf10b1 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期一, 08 七月 2024 11:12:15 +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