20260304 批量提交多个口的质量等级评定
This commit is contained in:
parent
46101bc59e
commit
2f562e57aa
|
|
@ -229,7 +229,7 @@
|
|||
HeaderTextAlign="Center" TextAlign="Center" Width="90px" FieldType="String">
|
||||
<Editor>
|
||||
<f:DropDownList ID="drpIsPass" runat="server">
|
||||
<f:ListItem Value="合格" Text="合格" Selected="true" />
|
||||
<f:ListItem Value="合格" Text="合格"/>
|
||||
<f:ListItem Value="不合格" Text="不合格" />
|
||||
</f:DropDownList>
|
||||
</Editor>
|
||||
|
|
|
|||
|
|
@ -875,62 +875,62 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
|||
report.PrintTime = null;
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
//更新列表最后一个口的数据
|
||||
if (!string.IsNullOrEmpty(changeId))
|
||||
{
|
||||
Model.HJGL_CH_TrustItem oldTrustItem1 = BLL.HJGL_CH_TrustItemService.GetTrustItemByID(changeId);
|
||||
Model.HJGL_CH_Trust trust1 = BLL.HJGL_TrustManageEditService.GetCH_TrustByID(oldTrustItem1.CH_TrustID);
|
||||
if (trust1.CH_NDTMethod != "20d2cbca-8b3d-434b-b1c1-181796986fa5") //非RT检测,更新焊口检测状态
|
||||
//}
|
||||
//更新列表焊口的数据
|
||||
if (!string.IsNullOrEmpty(changeId))
|
||||
{
|
||||
if (hasResult)
|
||||
Model.HJGL_CH_TrustItem oldTrustItem1 = BLL.HJGL_CH_TrustItemService.GetTrustItemByID(changeId);
|
||||
Model.HJGL_CH_Trust trust1 = BLL.HJGL_TrustManageEditService.GetCH_TrustByID(oldTrustItem1.CH_TrustID);
|
||||
if (trust1.CH_NDTMethod != "20d2cbca-8b3d-434b-b1c1-181796986fa5") //非RT检测,更新焊口检测状态
|
||||
{
|
||||
if (b)
|
||||
if (hasResult)
|
||||
{
|
||||
if (needRemake)
|
||||
if (b)
|
||||
{
|
||||
oldTrustItem1.States = "3"; //待重检
|
||||
if (needRemake)
|
||||
{
|
||||
oldTrustItem1.States = "3"; //待重检
|
||||
}
|
||||
else
|
||||
{
|
||||
oldTrustItem1.States = "2"; //检测合格
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
oldTrustItem1.States = "2"; //检测合格
|
||||
oldTrustItem1.States = "4"; //待返修
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
oldTrustItem1.States = "4"; //待返修
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (hasResult)
|
||||
else
|
||||
{
|
||||
if (bRT)
|
||||
if (hasResult)
|
||||
{
|
||||
if (needRemake)
|
||||
if (bRT)
|
||||
{
|
||||
oldTrustItem1.States = "3"; //待重检
|
||||
if (needRemake)
|
||||
{
|
||||
oldTrustItem1.States = "3"; //待重检
|
||||
}
|
||||
else
|
||||
{
|
||||
oldTrustItem1.States = "2"; //检测合格
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
oldTrustItem1.States = "2"; //检测合格
|
||||
oldTrustItem1.States = "4"; //待返修
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
oldTrustItem1.States = "4"; //待返修
|
||||
}
|
||||
}
|
||||
oldTrustItem1.FeedbackMan = this.CurrUser.UserName;
|
||||
oldTrustItem1.FeedbackDate = DateTime.Now;
|
||||
BLL.HJGL_PW_JointInfoService.JointFileNumWriteBack(oldTrustItem1.JOT_ID, filmNum);
|
||||
BLL.HJGL_PW_JointInfoService.JointRMaterialWriteBack(oldTrustItem1.JOT_ID, rMatNum);
|
||||
BLL.HJGL_PW_JointInfoService.JointCheckStateWriteBack(oldTrustItem1.JOT_ID, trust1.CH_NDTMethod, oldTrustItem1.States);
|
||||
BLL.HJGL_CH_TrustItemService.UpdateTrustItem(oldTrustItem1);
|
||||
}
|
||||
oldTrustItem1.FeedbackMan = this.CurrUser.UserName;
|
||||
oldTrustItem1.FeedbackDate = DateTime.Now;
|
||||
BLL.HJGL_PW_JointInfoService.JointFileNumWriteBack(oldTrustItem1.JOT_ID, filmNum);
|
||||
BLL.HJGL_PW_JointInfoService.JointRMaterialWriteBack(oldTrustItem1.JOT_ID, rMatNum);
|
||||
BLL.HJGL_PW_JointInfoService.JointCheckStateWriteBack(oldTrustItem1.JOT_ID, trust1.CH_NDTMethod, oldTrustItem1.States);
|
||||
BLL.HJGL_CH_TrustItemService.UpdateTrustItem(oldTrustItem1);
|
||||
}
|
||||
|
||||
// 删除现有数据
|
||||
List<int> deletedRows = Grid1.GetDeletedList();
|
||||
foreach (int rowIndex in deletedRows)
|
||||
|
|
|
|||
Loading…
Reference in New Issue