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/Dto/webApi/ErpProductionOrderSubDto.cs | 2 +- MES.Service/service/BasicData/ProductionOrderManager.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MES.Service/Dto/webApi/ErpProductionOrderSubDto.cs b/MES.Service/Dto/webApi/ErpProductionOrderSubDto.cs index 3f2a28c..c016fba 100644 --- a/MES.Service/Dto/webApi/ErpProductionOrderSubDto.cs +++ b/MES.Service/Dto/webApi/ErpProductionOrderSubDto.cs @@ -13,7 +13,7 @@ public string? FLot { get; set; } // 鎵瑰彿 public string? FStockID { get; set; } // 浠撳簱 public string? FIssueType { get; set; } // 鍙戞枡鏂瑰紡 - public string? FUnitID2 { get; set; } // 鍗曚綅 + public string? FUnitID { get; set; } // 鍗曚綅 public string? FSupplyType { get; set; } // 渚涘簲绫诲瀷 public string? FNumerator { get; set; } // 鍒嗗瓙 public string? FDenominator { get; set; } // 鍒嗘瘝 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