From c3bb5047c194a0145caca7681f0df5a8feeaaa9b Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期五, 18 四月 2025 16:30:40 +0800
Subject: [PATCH] 收货单增加选择单据

---
 Tiger.Model.Net/Entitys/WMS/Api/Input_Entitys.cs |   52 +++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 45 insertions(+), 7 deletions(-)

diff --git a/Tiger.Model.Net/Entitys/WMS/Api/Input_Entitys.cs b/Tiger.Model.Net/Entitys/WMS/Api/Input_Entitys.cs
index 9ba6667..7295a07 100644
--- a/Tiger.Model.Net/Entitys/WMS/Api/Input_Entitys.cs
+++ b/Tiger.Model.Net/Entitys/WMS/Api/Input_Entitys.cs
@@ -1,10 +1,10 @@
-锘縰sing System;
+锘縰sing Newtonsoft.Json;
+using System;
 using System.Collections.Generic;
 using System.ComponentModel;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
-using Tiger.Model.Minsun;
 
 namespace Tiger.Model
 {
@@ -27,6 +27,14 @@
         /// </summary>
         public string SN { get; set; }
         /// <summary>
+        /// 鏂欏彿
+        /// </summary>
+        public string ItemCode { get; set; }
+        /// <summary>
+        /// 鍗曟嵁鍙�
+        /// </summary>
+        public string OrderNo { get; set; }
+        /// <summary>
         /// 褰撳墠鎿嶄綔闇�瑕佹彁浜ょ殑閫夐」
         /// </summary>
         public Dictionary<string, string> Options { get; set; } = new Dictionary<string, string>();
@@ -34,6 +42,41 @@
         /// 褰撳墠鎿嶄綔闇�瑕佹彁浜ょ殑鏁版嵁
         /// </summary>
         public string Data { get; set; }
+    }
+
+
+    public class BaseInput<T> : BaseInput
+    {
+        public BaseInput()
+        {
+        }
+
+        public BaseInput(BaseInput input)
+        {
+            if (input != null)
+            {
+	            AuthOption = input.AuthOption;
+	            Locale = input.Locale;
+	            Command = input.Command;
+	            SN = input.SN;
+	            ItemCode = input.ItemCode;
+	            OrderNo = input.OrderNo;
+	            Options = input.Options;
+	            Data = JsonConvert.DeserializeObject<T>(input.Data);
+            }
+        }
+
+        /// <summary>
+        /// 褰撳墠鎿嶄綔闇�瑕佹彁浜ょ殑鏁版嵁
+        /// </summary>
+        public new T Data { get; set; }
+    }
+
+    public class BaseInputWithPage : BaseInput
+    {
+        public int pageIndex { get; set; }
+        public int pageSize { get; set; }
+        public int total { get; set; }
     }
 
     public class BasePageInput
@@ -72,11 +115,6 @@
         public string BatchNo { get; set; }
         public double BatchQty { get; set; }
         public List<RePrintLabelEntity> SnList { get; set; }=new List<RePrintLabelEntity>();
-    }
-
-    public class PrintSemiProdLabelEntity: RePrintLabelBase
-    {
-        
     }
 
     public class RePrintLabelEntity

--
Gitblit v1.9.3