From 30846c0d13ee4136d68ba509b05281378db951c6 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期四, 19 九月 2024 14:14:27 +0800
Subject: [PATCH] 生成委外订单接口

---
 MES.Service/service/WomcaaManager.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/MES.Service/service/WomcaaManager.cs b/MES.Service/service/WomcaaManager.cs
index f6f8b8d..da930bf 100644
--- a/MES.Service/service/WomcaaManager.cs
+++ b/MES.Service/service/WomcaaManager.cs
@@ -113,7 +113,8 @@
             Caa016 = dto.FMemoItem,
             Caa018 = Convert.ToDecimal(dto.planId),
             Caa019 = Convert.ToDecimal(dto.planSeq),
-            Caa020 = dto.planNum
+            Caa020 = dto.planNum,
+            Fmoentryid = Convert.ToDecimal(dto.FMOENTRYID)
         };
 
         var single = base.GetSingle(it => it.Erpid == entity.Erpid);
@@ -155,7 +156,9 @@
                 Cab014 = dto.FIsKeyItem,
                 Numerator = dto.FNumerator,
                 Denominator = dto.FDenominator,
-                Eid = Convert.ToDecimal(dto.PID)
+                Eid = Convert.ToDecimal(dto.PID),
+                SCRAPQTY = Convert.ToDecimal(dto.FFixScrapQty),
+                SCRAPRATE = Convert.ToDecimal(dto.FScrapRate)
             };
 
             var entity = Db.Queryable<Womcab>()

--
Gitblit v1.9.3