Browse Source

Merge branch 'master' of http://119.3.29.177:3000/xusc/IcsFromERPJob

Branch_PaiNaWeiSJob
xusc 4 months ago
parent
commit
75a201128f
  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