11
This commit is contained in:
@@ -162,7 +162,7 @@ namespace FineUIPro.Web.WeldingProcess.TrustManage
|
||||
db.SubmitChanges(); ////更新批明细 返修日期 状态
|
||||
|
||||
int k_num = 0;
|
||||
string jot = "K1";
|
||||
string jot = "EX1";
|
||||
|
||||
Model.Pipeline_WeldJoint jointInfo = null;
|
||||
if (!String.IsNullOrEmpty(weldJointId))
|
||||
@@ -178,13 +178,13 @@ namespace FineUIPro.Web.WeldingProcess.TrustManage
|
||||
}
|
||||
}
|
||||
|
||||
int indexK = jointInfo.WeldJointCode.LastIndexOf("K");
|
||||
int indexK = jointInfo.WeldJointCode.LastIndexOf("EX");
|
||||
if (indexK > 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
k_num = Convert.ToInt32(jointInfo.WeldJointCode.Substring(indexK + 1, 1)) + 1;
|
||||
jot = "K" + k_num.ToString();
|
||||
jot = "EX" + k_num.ToString();
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user