From 949f77af1da12b69fc4d3b273062abd0b2b2c7c0 Mon Sep 17 00:00:00 2001
From: tjx <t2856754968@163.com>
Date: 星期三, 26 十一月 2025 15:49:24 +0800
Subject: [PATCH] 111

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

diff --git a/MES.Service/service/BasicData/ProductionOrderManager.cs b/MES.Service/service/BasicData/ProductionOrderManager.cs
index 7937f0e..6fa3859 100644
--- a/MES.Service/service/BasicData/ProductionOrderManager.cs
+++ b/MES.Service/service/BasicData/ProductionOrderManager.cs
@@ -161,7 +161,8 @@
             ClosingType = erpDto.FCloseType,
             Remarks = erpDto.FDescription,
             ErpId = erpDto.FID,
-            ErpProductionEntryCode = erpDto.FSUBENTRYID,
+            // ErpProductionEntryCode = erpDto.FSUBENTRYID,
+            ErpProductionEntryCode = SUBBOM,
             Purchaseorderno = erpDto.FPurOrderNo,
             Purchaseorderentryseq = Convert.ToInt32(erpDto.FPurOrderEntrySeq),
             Stockinqty = Convert.ToDecimal(erpDto.FBaseStockInQty),
@@ -275,7 +276,8 @@
                 Freservetype = erpDto.FRESERVETYPE,
                 Fmemo = erpDto.FMEMO,
                 Typeb = erpDto.TypeB,
-                ErpProductionEntryCode = erpDto.FSUBENTRYID
+                // ErpProductionEntryCode = erpDto.FSUBENTRYID
+                ErpProductionEntryCode = erpDto.FBILLNO
             };
 
             var single = _productionOrderSubManager.GetSingle(it =>

--
Gitblit v1.9.3