Browse Source

装配定额工时按小时统计

Branch_PaiNaWeiSJob
shiqian.wang 3 months ago
parent
commit
3f86a7fbc6
  1. 12
      ICSSoft.FromERP/ICSAddStdWorkHourFromMES.cs

12
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()
});
}

Loading…
Cancel
Save