This commit is contained in:
parent
64f32709e2
commit
5295eff5c6
|
|
@ -605,9 +605,12 @@ namespace FineUIPro.Web.HJGL.DataIn
|
||||||
{
|
{
|
||||||
result += "第" + (i + 2).ToString() + "行," + "该焊口的焊工资质不符合" + "\n";
|
result += "第" + (i + 2).ToString() + "行," + "该焊口的焊工资质不符合" + "\n";
|
||||||
}
|
}
|
||||||
else //D类口暂时不提示
|
else
|
||||||
{
|
{
|
||||||
|
if (floorWelderQualifys.Count() == 0 && cellWelderQualifys.Count() == 0) //D类口强制提交时,应至少有焊工证,否则也不可强制提交
|
||||||
|
{
|
||||||
|
result += "第" + (i + 2).ToString() + "行," + "该焊口的焊工资质不符合" + "\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -465,6 +465,13 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||||
{
|
{
|
||||||
isAllD = false;
|
isAllD = false;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (floorWelderQualifys.Count() == 0 && cellWelderQualifys.Count() == 0) //D类口强制提交时,应至少有焊工证,否则也不可强制提交
|
||||||
|
{
|
||||||
|
isAllD = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (eventArg != string.Empty)
|
if (eventArg != string.Empty)
|
||||||
|
|
|
||||||
|
|
@ -214,6 +214,15 @@ namespace WebAPI.Controllers
|
||||||
responeData.message = "该焊口的焊工资质不符合!";
|
responeData.message = "该焊口的焊工资质不符合!";
|
||||||
return responeData;
|
return responeData;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (floorWelderQualifys.Count() == 0 && cellWelderQualifys.Count() == 0) //D类口强制提交时,应至少有焊工证,否则也不可强制提交
|
||||||
|
{
|
||||||
|
responeData.code = 0;
|
||||||
|
responeData.message = "该焊口的焊工资质不符合!";
|
||||||
|
return responeData;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
BLL.APIJointInfoService.SaveJointInfoForWeldReport(addItem);
|
BLL.APIJointInfoService.SaveJointInfoForWeldReport(addItem);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue