From 3f86a7fbc6b55132ea85e53d9a407a476cbf4e2b Mon Sep 17 00:00:00 2001 From: "shiqian.wang" Date: Wed, 7 Aug 2024 16:38:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A3=85=E9=85=8D=E5=AE=9A=E9=A2=9D=E5=B7=A5?= =?UTF-8?q?=E6=97=B6=E6=8C=89=E5=B0=8F=E6=97=B6=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ICSSoft.FromERP/ICSAddStdWorkHourFromMES.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ICSSoft.FromERP/ICSAddStdWorkHourFromMES.cs b/ICSSoft.FromERP/ICSAddStdWorkHourFromMES.cs index d524ed6..52bc882 100644 --- a/ICSSoft.FromERP/ICSAddStdWorkHourFromMES.cs +++ b/ICSSoft.FromERP/ICSAddStdWorkHourFromMES.cs @@ -97,9 +97,9 @@ namespace ICSSoft.FromERP AddList.Add(new AddStdWorkHourItem() { ORGCode = "01",//u9 Base_Organization表 的 code 字段 组织编码 - WorkHour = (Manhour + AdditiveManHour) * Coefficient, // 整机计算逻辑:(本体基础工时型号 + 追加工时) * 系数 + WorkHour = ((Manhour + AdditiveManHour) * Coefficient) / 60, // 整机计算逻辑:(本体基础工时型号 + 追加工时) * 系数 CreatedByCode = "", - DepartmentCode = "",//部门 + DepartmentCode = "080502",//部门 ItemCode = dr["code"].ToString() }); } @@ -159,9 +159,9 @@ namespace ICSSoft.FromERP AddList.Add(new AddStdWorkHourItem() { ORGCode = "01",//u9 Base_Organization表 的 code 字段 组织编码 - WorkHour = (Manhour + AdditiveManHour) * Coefficient, // 本体部计算逻辑:(本体基础工时型号 + 追加工时) * 系数 + WorkHour = (Manhour + AdditiveManHour) * Coefficient / 60, // 本体部计算逻辑:(本体基础工时型号 + 追加工时) * 系数 CreatedByCode = "", - DepartmentCode = "",//部门 + DepartmentCode = "080502",//部门 ItemCode = dr["code"].ToString() }); } @@ -220,9 +220,9 @@ namespace ICSSoft.FromERP AddList.Add(new AddStdWorkHourItem() { ORGCode = "01",//u9 Base_Organization表 的 code 字段 组织编码 - WorkHour = (Manhour + AdditiveManHour) * Coefficient, // 驱动部计算逻辑:(本体基础工时型号 + 追加工时) * 系数 + WorkHour = (Manhour + AdditiveManHour) * Coefficient / 60, // 驱动部计算逻辑:(本体基础工时型号 + 追加工时) * 系数 CreatedByCode = "", - DepartmentCode = "",//部门 + DepartmentCode = "080502",//部门 ItemCode = dr["code"].ToString() }); }