From 0dcff1805b3143dd1c2a25d604afdd724b452803 Mon Sep 17 00:00:00 2001
From: duheng <2286773002@qq.com>
Date: 星期二, 18 三月 2025 13:13:54 +0800
Subject: [PATCH] 修复引用报错

---
 WinFrmUI/PBS.WinFrmUI/01-place/00-core/PlaceViewModel.cs |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/WinFrmUI/PBS.WinFrmUI/01-place/00-core/PlaceViewModel.cs b/WinFrmUI/PBS.WinFrmUI/01-place/00-core/PlaceViewModel.cs
index 293fa0c..6adeea8 100644
--- a/WinFrmUI/PBS.WinFrmUI/01-place/00-core/PlaceViewModel.cs
+++ b/WinFrmUI/PBS.WinFrmUI/01-place/00-core/PlaceViewModel.cs
@@ -21,7 +21,9 @@
             this.UseStatus = rhs.UseStatus;
             this.SortCode = rhs.SortCode;
             this.Description = rhs.Description;
+            this.Paras = rhs.Paras;
             this.Flags = FlagsHelper.ToString(rhs.Flags);
+            this.Vmo = rhs;
         }
 
         public void Resert(Vmo.PlaceVmo rhs)
@@ -32,10 +34,12 @@
             this.PlaceType = rhs.PlaceType;
             this.PlaceInfo = rhs.PlaceInfo;
             this.Address = rhs.Address;
+            this.Paras = rhs.Paras;
             this.UseStatus = rhs.UseStatus;
             this.SortCode = rhs.SortCode;
             this.Description = rhs.Description;
             this.Flags = FlagsHelper.ToString(rhs.Flags);
+            this.Vmo = rhs;
         }
 
         /// <summary>
@@ -49,7 +53,7 @@
         /// 琛屾斂鍖哄煙鏍囪瘑
         ///</summary>
         [DisplayName("琛屾斂鍖哄煙鏍囪瘑")]
-        [Browsable(false)]
+        [Browsable(true)]
         public long RegionID { get; set; }
 
         /// <summary>
@@ -121,5 +125,7 @@
         [DisplayName("璇存槑")]
         [Browsable(true)]
         public string Description { get; set; }
+
+        public Vmo.PlaceVmo Vmo { get; set; }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3