From 531f16f2f15bf792e3e719e00abb57a95356dedd Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期一, 21 四月 2025 12:04:15 +0800
Subject: [PATCH] Merge branch 'master' of http://47.115.28.255:8110/r/TigerClouds-Tech/Server/TigerApi6_2024

---
 Tiger.Model.Net/Entitys/WMS/BIZ_WMS_PREP.cs |   49 ++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 42 insertions(+), 7 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..43389ff 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 澶栭敭灞炴��
@@ -108,9 +141,11 @@
 			Requisition = 1,
 			[Description("宸ュ崟澶囨枡")]
 			WorkOrder = 2,
-			[Description("濮斿澶囨枡")]
-			Outsourcing = 3,
-		}
+            [Description("濮斿澶囨枡")]
+            Outsourcing = 3,
+            [Description("璋冩嫧澶囨枡")]
+            Transfer = 4,
+        }
 
 		/// <summary>
 		/// 鏋氫妇锛氱姸鎬�(0Init鍒濆鍖東1Called宸插彨鏂檤2WaitPick寰呮崱鏂檤3Picking鎹℃枡涓瓅4Picked宸叉崱瀹寍5Sended宸插彂鏂檤6Close宸插叧闂瓅7Cancel浣滃簾)

--
Gitblit v1.9.3