From b57fb8b61bd053601035694470ac4e79fbf99bf8 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期六, 12 四月 2025 17:52:56 +0800
Subject: [PATCH] 雅达-优化收货单处理逻辑及参数结构

---
 Tiger.Model.Net/Entitys/MES/ParameterEntity/U9CParameter.cs |   30 ++++++++++++------------------
 1 files changed, 12 insertions(+), 18 deletions(-)

diff --git a/Tiger.Model.Net/Entitys/MES/ParameterEntity/U9CParameter.cs b/Tiger.Model.Net/Entitys/MES/ParameterEntity/U9CParameter.cs
index 3fec36c..512992f 100644
--- a/Tiger.Model.Net/Entitys/MES/ParameterEntity/U9CParameter.cs
+++ b/Tiger.Model.Net/Entitys/MES/ParameterEntity/U9CParameter.cs
@@ -54,6 +54,11 @@
         public bool IsLogin { get; set; }
     }
 
+    public class Mcode
+    {
+        public string m_code { get; set; }
+    }
+
     public class IssueUOM : BaseCode { }
 
     public class POLine : BaseCode
@@ -295,11 +300,9 @@
     public class CreateReceivementInput : U9CBaseInput
     {
         /// <summary>
-        /// 渚涘簲鍟�
+        /// 鏃犳潵婧愬弬鏁�
         /// </summary>
-        public string Supplier { get; set; }
-        public string RcvDocType { get; set; }
-        public List<RcvLine> RcvLines { get; set; }
+        public CreateReceivementParam CreateReceivementParam { get; set; }
     }
 
     public class RcvDTO
@@ -311,11 +314,11 @@
         /// <summary>
         /// 渚涘簲鍟�
         /// </summary>
-        public Supplier Supplier { get; set; }
+        public Mcode Supplier { get; set; }
         /// <summary>
         /// 鍗曟嵁绫诲瀷锛氭湁ASN鍗曚紶RCV01锛屾病鏈堿SN鍗曡禒鍝佷紶RCV03
         /// </summary>
-        public RcvDocType RcvDocType { get; set; }
+        public Mcode RcvDocType { get; set; }
         public List<RcvLine> RcvLines { get; set; }
         public bool IsRcvByChangeable { get; set; } = true;
         public bool IsPriceListChangeable { get; set; } = true;
@@ -323,14 +326,7 @@
         public bool IsPaymentTermChangeable { get; set; } = true;
         public bool IsLineApprove { get; set; } = true;
     }
-    public class Supplier
-    {
-        public string m_code { get; set; }
-    }
-    public class RcvDocType
-    {
-        public string m_code { get; set; }
-    }
+
     public class RcvLine
     {
         /// <summary>
@@ -382,13 +378,11 @@
     {
         public string m_itemCode { get; set; }
     }
-    public class Wh2
+    public class Wh2: Mcode
     {
-        public string m_code { get; set; }
     }
-    public class Location
+    public class Location : Mcode
     {
-        public string m_code { get; set; }
     }
 
     public class RcvLineLocation

--
Gitblit v1.9.3