From 9e9dbf388afbdad4d57ecb7b0e21b7d521177034 Mon Sep 17 00:00:00 2001
From: hao <1836460075@qq.com>
Date: 星期三, 14 五月 2025 13:07:43 +0800
Subject: [PATCH] 采购订单出版

---
 StandardInterface/MES.Service/service/WomcaaWWManager.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/StandardInterface/MES.Service/service/WomcaaWWManager.cs b/StandardInterface/MES.Service/service/WomcaaWWManager.cs
index a92be2b..f0cdce2 100644
--- a/StandardInterface/MES.Service/service/WomcaaWWManager.cs
+++ b/StandardInterface/MES.Service/service/WomcaaWWManager.cs
@@ -122,7 +122,7 @@
             //PrdOrg = dto.erP_SCZZ,
             //TrustOrg = dto.erP_WTZZ,
             TbTime = DateTime.Now,
-            JaBs = "0"
+            JaBs = 0
         };
         if (dto.Type == "5")
             entity.IsXg = 1;
@@ -131,7 +131,7 @@
 
         if (dto.FStatus == "6" || dto.FStatus == "7")
         {
-            entity.JaBs = "1";
+            entity.JaBs =1;
             entity.JaTime = DateTime.Now;
         }
 
@@ -156,7 +156,7 @@
                 Cab006 = Convert.ToDecimal(dto.FNeedQty),
                 Cab007 = Convert.ToDecimal(dto.FPickedQty),
                 Cab009 = dto.FUnitID,
-                Cab014 = dto.FIsKeyItem,
+                Cab014 = Convert.ToInt32(dto.FIsKeyItem),
                 Pid = Convert.ToDecimal(dto.PID),
                 Eid = Convert.ToDecimal(dto.PID),
                 PositionNo = dto.FPositionNO,
@@ -170,8 +170,8 @@
                 SupplyType = dto.FSupplyType,
                 Numerator = Convert.ToDecimal(dto.FNumerator),
                 Denominator = Convert.ToDecimal(dto.FDenominator),
-                SCRAPQTY = Convert.ToDecimal(dto.FFixScrapQty),
-                SCRAPRATE = Convert.ToDecimal(dto.FScrapRate)
+                Scrapqty = Convert.ToDecimal(dto.FFixScrapQty),
+                Scraprate = Convert.ToDecimal(dto.FScrapRate)
                 //SalesOrder = dto.FXSHTBH,
             };
 

--
Gitblit v1.9.3