11
This commit is contained in:
@@ -210,7 +210,7 @@ namespace FineUIPro.Web.WeldingProcess.CheckManage
|
||||
if (repairRecord != null && !string.IsNullOrEmpty(repairRecord.RepairRecordCode))
|
||||
{
|
||||
// 取返修单后4位
|
||||
code4 = repairRecord.RepairRecordCode.Substring(repairRecord.RepairRecordCode.Length - 4);
|
||||
code4 = repairRecord.RepairRecordCode.Substring(repairRecord.RepairRecordCode.Length - 5);
|
||||
// 取返修单后2位
|
||||
code2 = repairRecord.RepairRecordCode.Substring(repairRecord.RepairRecordCode.Length - 2);
|
||||
}
|
||||
@@ -245,7 +245,7 @@ namespace FineUIPro.Web.WeldingProcess.CheckManage
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@DetectionTypeId", repairRecord.DetectionTypeId));
|
||||
// 如果是第二次返修不加载扩透口
|
||||
if (!code4.Contains("K1") && code2 == "R2")
|
||||
if (!code4.Contains("EX1") && code2 == "R2")
|
||||
{
|
||||
listStr.Add(new SqlParameter("@ProjectId", "0"));
|
||||
}
|
||||
@@ -263,7 +263,7 @@ namespace FineUIPro.Web.WeldingProcess.CheckManage
|
||||
}
|
||||
else
|
||||
{
|
||||
if (ndtItem.JudgeGrade == "修磨" || ndtItem.JudgeGrade == "异物")
|
||||
if (ndtItem.Remark.Contains("修磨") || ndtItem.Remark.Contains("异物"))
|
||||
{
|
||||
listStr.Add(new SqlParameter("@ProjectId", "0"));
|
||||
}
|
||||
@@ -724,7 +724,7 @@ namespace FineUIPro.Web.WeldingProcess.CheckManage
|
||||
if (code != null && !string.IsNullOrEmpty(code.RepairRecordCode))
|
||||
{
|
||||
// 取返修单后4位
|
||||
string code4 = code.RepairRecordCode.Substring(code.RepairRecordCode.Length - 4);
|
||||
string code4 = code.RepairRecordCode.Substring(code.RepairRecordCode.Length - 5);
|
||||
// 取返修单后2位
|
||||
string code2 = code.RepairRecordCode.Substring(code.RepairRecordCode.Length - 2);
|
||||
if (code2 == "R1")
|
||||
@@ -749,7 +749,7 @@ namespace FineUIPro.Web.WeldingProcess.CheckManage
|
||||
}
|
||||
else
|
||||
{
|
||||
if (code4.Contains("K1") && code2 == "R2")
|
||||
if (code4.Contains("EX1") && code2 == "R2")
|
||||
{
|
||||
Grid1.SelectAllRows();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user