From 0c0309afae85b72746bd2431c10c7f5982e210e3 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期三, 30 四月 2025 17:46:44 +0800
Subject: [PATCH] 一些更改

---
 Tiger.Model.Net/Entitys/WMS/BIZ_WMS_TRANSFER_DTL.cs |   49 +++++++++++++++++++++++++++++++++++++------------
 1 files changed, 37 insertions(+), 12 deletions(-)

diff --git a/Tiger.Model.Net/Entitys/WMS/BIZ_WMS_TRANSFER_DTL.cs b/Tiger.Model.Net/Entitys/WMS/BIZ_WMS_TRANSFER_DTL.cs
index 92566bd..c6fbd36 100644
--- a/Tiger.Model.Net/Entitys/WMS/BIZ_WMS_TRANSFER_DTL.cs
+++ b/Tiger.Model.Net/Entitys/WMS/BIZ_WMS_TRANSFER_DTL.cs
@@ -3,6 +3,7 @@
 using System.Linq;
 using System.ComponentModel;
 using System.Collections.Generic;
+using Tiger.Model.Base;
 
 namespace Tiger.Model
 {
@@ -13,8 +14,8 @@
 	[DisplayName("璋冩嫧鍗�(WMS)鏄庣粏")]
 	[Serializable]
 	[SugarTable("BIZ_WMS_TRANSFER_DTL")]
-	public class BIZ_WMS_TRANSFER_DTL : DbEntityWithAuth
-	{
+	public class BIZ_WMS_TRANSFER_DTL : DbEntityWithAuth, iPrepPickItem
+    {
 		#region 鏋勯�犲嚱鏁�
 		/// <summary>
 		/// 瀹炰綋锛氳皟鎷ㄥ崟(WMS)鏄庣粏
@@ -73,10 +74,20 @@
 		/// </summary>
 		[DisplayName("鎷ㄥ叆浠撳簱")]
 		public string IN_WH_CODE { get; set; }
-		/// <summary>
-		/// 鎷ㄥ嚭鎵瑰彿
+        /// <summary>
+		/// 璋冨嚭鍌ㄤ綅
 		/// </summary>
-		[DisplayName("鎷ㄥ嚭鎵瑰彿")]
+		[DisplayName("璋冨嚭鍌ㄤ綅")]
+        public string OUT_LOCATION_CODE { get; set; }
+        /// <summary>
+        /// 鎷ㄥ叆鍌ㄤ綅
+        /// </summary>
+        [DisplayName("鎷ㄥ叆鍌ㄤ綅")]
+        public string IN_LOCATION_CODE { get; set; }
+        /// <summary>
+        /// 鎷ㄥ嚭鎵瑰彿
+        /// </summary>
+        [DisplayName("鎷ㄥ嚭鎵瑰彿")]
 		public string OUT_LOTNO { get; set; }
 		/// <summary>
 		/// 鎷ㄥ叆鎵瑰彿
@@ -135,8 +146,8 @@
         public BAS_ITEM ItemInfo => _ItemInfos?.FirstOrDefault(q => q.AUTH_ORG == AUTH_ORG);
         #endregion
 
-		#region 鏋氫妇鍙橀噺
-		/*渚嬪瓙
+        #region 鏋氫妇鍙橀噺
+        /*渚嬪瓙
 		public enum FieldNames
 		{
 			[Description("鏋氫妇鎻忚堪0")]
@@ -145,11 +156,25 @@
 			Enum1,
 		}
 		*/
-		#endregion
+        #endregion
 
-		#region 鍏叡鏂规硶
+        #region 鍏叡鏂规硶
+        public BIZ_WMS_PREP_SRC_DTL GetPickItem()
+        {
+            return new BIZ_WMS_PREP_SRC_DTL()
+            {
+                Source = this,
+                AUTH_ORG = AUTH_ORG,
+                ITEM_CODE = ITEM_CODE,
+                UNIT = UNIT,
+                SOURCE_CODE = nameof(BIZ_WMS_TRANSFER),
+                SOURCE_ORDER = ORDER_NO,
+                SOURCE_LINE = ORDER_LINE,
+                QTY_REQ = QTY_REQ,
+                QTY_ACT_REQ = QTY_REQ - QTY_OUT,
+            };
+        }
+        #endregion
 
-		#endregion
-
-	}//endClass
+    }//endClass
 }
\ No newline at end of file

--
Gitblit v1.9.3