服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2025-03-09 b47f3d201af8742375c789e0168c26875e569003
雅达-更新接收参数以支持动态供应商和接收行

在 `WMS_U9C.cs` 中,将 `CreateReceivementParam` 类的 `Supplier` 属性从硬编码改为使用 `input.Supplier`,并将 `RcvLines` 属性改为使用 `input.RcvLines`,以支持动态传入的供应商和接收行信息。移除了一些不必要的属性赋值以简化代码。

在 `U9CParameter.cs` 中,新增 `CreateReceivementInput` 类的 `Supplier` 和 `RcvLines` 属性,增强了类的灵活性和可扩展性。
已修改2个文件
17 ■■■■■ 文件已修改
Tiger.Business.WMS/ERP/WMS_U9C.cs 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Tiger.Model.Net/Entitys/MES/ParameterEntity/U9CParameter.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Tiger.Business.WMS/ERP/WMS_U9C.cs
@@ -141,16 +141,9 @@
                    rcvDTO = new()
                    {
                        BusinessDate = DateTime.Now,
                        Supplier = new() { m_code = "C.9999" },
                        Supplier = new() { m_code = input.Supplier },
                        RcvDocType = new() { m_code = "RCV01" },
                        RcvLines= new() {
                        },
                        IsRcvByChangeable =true,
                        IsPriceListChangeable = true,
                        IsConfirmTermChangeable = true,
                        IsPaymentTermChangeable = true,
                        IsLineApprove= true,
                        RcvLines= input.RcvLines,
                    },
                    OtherID = "WMS"
                };
Tiger.Model.Net/Entitys/MES/ParameterEntity/U9CParameter.cs
@@ -294,7 +294,11 @@
    public class CreateReceivementInput : U9CBaseInput
    {
        /// <summary>
        /// 供应商
        /// </summary>
        public string Supplier { get; set; }
        public List<RcvLine> RcvLines { get; set; }
    }
    public class RcvDTO