From a6cad2fe831204993e4615c58d17d1a8fb689725 Mon Sep 17 00:00:00 2001
From: cnf <3200815559@qq.com>
Date: 星期一, 15 九月 2025 17:07:51 +0800
Subject: [PATCH] 委外工单修改

---
 MES.Service/service/BasicData/ProductionOrderManager.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/MES.Service/service/BasicData/ProductionOrderManager.cs b/MES.Service/service/BasicData/ProductionOrderManager.cs
index c0e86fc..93dc1ce 100644
--- a/MES.Service/service/BasicData/ProductionOrderManager.cs
+++ b/MES.Service/service/BasicData/ProductionOrderManager.cs
@@ -200,8 +200,8 @@
                 BatchNo = erpDto.FLot,
                 Warehouse = erpDto.FStockID,
                 IssuingMethod = erpDto.FIssueType,
-                Unit = erpDto.FUnitID2,
-                Unit2 = erpDto.FUnitID3,
+                Unit = erpDto.FUnitID,
+                Unit2 = erpDto.FUnitID,
                 SupplyingType = erpDto.FSupplyType,
                 Numerator = Convert.ToDecimal(erpDto.FNumerator),
                 Denominator = Convert.ToDecimal(erpDto.FDenominator),
@@ -212,7 +212,7 @@
                 SubItemType = erpDto.FMaterialType,
                 ItemNo = erpDto.FReplaceGroup,
                 OwnerType = erpDto.FOwnerTypeId,
-                Owner = erpDto.FOwnerID2,
+                Owner = erpDto.FOwnerID,
                 Fisgetscrap = erpDto.FISGETSCRAP,
                 Fiskeycomponent = erpDto.FISKEYCOMPONENT,
                 Fsrctransorgid = erpDto.FSRCTRANSORGID,

--
Gitblit v1.9.3