From ba08e05138d882a2a5bc603a166b07af071cc1a1 Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期二, 15 四月 2025 12:03:13 +0800
Subject: [PATCH] 收货单增加erp单据状态

---
 Tiger.Model.Net/Entitys/WMS/BIZ_WMS_PREP.cs |   41 +++++++++++++++++++++++++++++++++++++----
 1 files changed, 37 insertions(+), 4 deletions(-)

diff --git a/Tiger.Model.Net/Entitys/WMS/BIZ_WMS_PREP.cs b/Tiger.Model.Net/Entitys/WMS/BIZ_WMS_PREP.cs
index dfe1964..d7dbb93 100644
--- a/Tiger.Model.Net/Entitys/WMS/BIZ_WMS_PREP.cs
+++ b/Tiger.Model.Net/Entitys/WMS/BIZ_WMS_PREP.cs
@@ -3,6 +3,7 @@
 using System.Linq;
 using System.ComponentModel;
 using System.Collections.Generic;
+using Tiger.Model.Extensions;
 
 namespace Tiger.Model
 {
@@ -48,10 +49,40 @@
 		/// </summary>
 		[DisplayName("鏉ユ簮鍗曞彿锛屽涓敤鈥�,鈥濆垎闅旓紝璺熺紪鐮佷竴涓�瀵瑰簲")]
 		public string SOURCE_ORDER { get; set; }
-		/// <summary>
-		/// 澶囨敞
-		/// </summary>
-		[DisplayName("澶囨敞")]
+        /// <summary>
+        /// 宸ュ巶缂栫爜
+        /// </summary>
+        [DisplayName("宸ュ巶缂栫爜")]
+        public string FTY_CODE { get; set; }
+        /// <summary>
+        /// 杞﹂棿缂栫爜
+        /// </summary>
+        [DisplayName("杞﹂棿缂栫爜")]
+        public string WS_CODE { get; set; }
+        /// <summary>
+        /// 浜х嚎缂栫爜
+        /// </summary>
+        [DisplayName("浜х嚎缂栫爜")]
+        public string LINE_CODE { get; set; }
+        /// <summary>
+        /// 宀椾綅缂栫爜
+        /// </summary>
+        [DisplayName("宀椾綅缂栫爜")]
+        public string POST_CODE { get; set; }
+        /// <summary>
+        /// 宸ュ簭缂栫爜
+        /// </summary>
+        [DisplayName("宸ュ簭缂栫爜")]
+        public string OPER_CODE { get; set; }
+        /// <summary>
+        /// 鍔犲伐娈�
+        /// </summary>
+        [DisplayName("鍔犲伐娈�")]
+        public string SEGMENT { get; set; }
+        /// <summary>
+        /// 澶囨敞
+        /// </summary>
+        [DisplayName("澶囨敞")]
 		public string REMARK { get; set; }
         #endregion
 
@@ -60,6 +91,8 @@
 		[SugarColumn(IsIgnore = true)]
 		public string FieldName { get; set; }
 		*/
+        [SugarColumn(IsIgnore = true)]
+        public BIZ_WMS_PREP_BTH CurBatch => Batchs?.OrderBy(q => q.CALL_TIME).FirstOrDefault(q => q.STATUS < STATUSs.Sended.GetValue());
         #endregion
 
         #region 澶栭敭灞炴��

--
Gitblit v1.9.3