From 309ea7eb73b9ede89386b30147610b81c79b5aeb Mon Sep 17 00:00:00 2001
From: YangYuGang <1378265336@qq.com>
Date: 星期二, 11 三月 2025 10:35:02 +0800
Subject: [PATCH] 退货单修改

---
 Tiger.Business.WMS/ERP/WMS_U9C.cs |   25 +++----------------------
 1 files changed, 3 insertions(+), 22 deletions(-)

diff --git a/Tiger.Business.WMS/ERP/WMS_U9C.cs b/Tiger.Business.WMS/ERP/WMS_U9C.cs
index 2f76746..e992ffd 100644
--- a/Tiger.Business.WMS/ERP/WMS_U9C.cs
+++ b/Tiger.Business.WMS/ERP/WMS_U9C.cs
@@ -69,27 +69,8 @@
                         Logger.Interface.Info($"U9C鐧诲綍token: {input.token}");
                     }
                 }
-                List<CreateRcvBySrcASNParam> param = new() {
-                     new() {
-                        aSNToRcvTransDTOs = new(){
-                            new(){
-                                TransQty=new() {
-                                    m_amount1= input.CurRevQty,
-                                    m_uOM1 = new() {
-                                        UOMMain = "1002212260110007",
-                                        UOMMain_SKey=new(){
-                                            ID="1002212260110007",
-                                        },
-                                        UOMSub_SKey = new(){
-                                            ID="1002212260110007",
-                                        }
-                                    },
-                                },
-                                ASNLineKey=input.ASNLineKey,
-                            }
-                        }
-                     }
-                };
+                List<CreateRcvBySrcASNParam> param = new();
+                param.Add(input.CreateRcvBySrcASNParam);
                 var response = await HttpHelper.PostAsync(CreateRcvBySrcASNUrl, JsonConvert.SerializeObject(param), new Dictionary<string, string>() { { "token", input.token } });
                 var result = JsonConvert.DeserializeObject<U9CResult2>(response.Message);
                 if (result != null)
@@ -142,7 +123,7 @@
                     {
                         BusinessDate = DateTime.Now,
                         Supplier = new() { m_code = input.Supplier },
-                        RcvDocType = new() { m_code = "RCV01" },
+                        RcvDocType = new() { m_code = input.RcvDocType },
                         RcvLines= input.RcvLines,
                     },
                     OtherID = "WMS"

--
Gitblit v1.9.3