修改质量报验
This commit is contained in:
@@ -82,6 +82,9 @@
|
||||
<f:RenderField Width="100px" ColumnID="EquipmentCode" DataField="EquipmentCode"
|
||||
FieldType="String" HeaderText="设备位号" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="Factory" DataField="Factory"
|
||||
FieldType="String" HeaderText="生产厂家" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="PressClass" DataField="PressClass"
|
||||
FieldType="String" HeaderText="压力等级" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ID="next">
|
||||
<f:FormRow ID="next" Hidden="true">
|
||||
<Items>
|
||||
<f:ContentPanel ID="ContentPanel4" Title="报验管理审批流程设置 " runat="server" ShowHeader="true" EnableCollapse="true"
|
||||
BodyPadding="0px">
|
||||
@@ -166,7 +166,7 @@
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ID="plApprove2">
|
||||
<f:FormRow ID="plApprove2" Hidden="true">
|
||||
<Items>
|
||||
<f:ContentPanel Title="报验管理审批列表" ShowBorder="true"
|
||||
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
|
||||
|
||||
@@ -351,7 +351,8 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
test.CompileDate = DateTime.Now;
|
||||
BLL.CQMS_MaterialTestService.AddMaterialTest(test);
|
||||
}
|
||||
inspection.State = BLL.Const.Inspection_SpotCheck;
|
||||
//inspection.State = BLL.Const.Inspection_SpotCheck;
|
||||
inspection.State = BLL.Const.Inspection_Complete;
|
||||
}
|
||||
else if (inspection.IsSpotCheck == false && inspection.IsNoticeAndSupervision == true && (inspection.State == BLL.Const.Inspection_Compile || inspection.State == BLL.Const.Inspection_ReCompile)) //生成告知和监检记录
|
||||
{
|
||||
@@ -366,11 +367,13 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
noticeAndSupervision.CompileDate = DateTime.Now;
|
||||
BLL.CQMS_NoticeAndSupervisionService.AddNoticeAndSupervision(noticeAndSupervision);
|
||||
}
|
||||
inspection.State = this.drpHandleType.SelectedValue;
|
||||
//inspection.State = this.drpHandleType.SelectedValue;
|
||||
inspection.State = BLL.Const.Inspection_Complete;
|
||||
}
|
||||
else
|
||||
{
|
||||
inspection.State = this.drpHandleType.SelectedValue;
|
||||
//inspection.State = this.drpHandleType.SelectedValue;
|
||||
inspection.State = BLL.Const.Inspection_Complete;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -403,14 +406,14 @@ namespace FineUIPro.Web.CQMS.Material
|
||||
approve1.ApproveIdea = this.txtOpinions.Text.Trim();
|
||||
approve1.IsAgree = Convert.ToBoolean(this.RadioButtonList1.SelectedValue);
|
||||
BLL.CQMS_InspectionApproveService.UpdateInspectionApprove(approve1);
|
||||
Model.Material_InspectionApprove approve = new Model.Material_InspectionApprove();
|
||||
approve.InspectionId = inspection.InspectionId;
|
||||
if (this.drpHandleMan.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
approve.ApproveMan = this.drpHandleMan.SelectedValue;
|
||||
}
|
||||
approve.ApproveType = this.drpHandleType.SelectedValue;
|
||||
BLL.CQMS_InspectionApproveService.AddInspectionApprove(approve);
|
||||
//Model.Material_InspectionApprove approve = new Model.Material_InspectionApprove();
|
||||
//approve.InspectionId = inspection.InspectionId;
|
||||
//if (this.drpHandleMan.SelectedValue != BLL.Const._Null)
|
||||
//{
|
||||
// approve.ApproveMan = this.drpHandleMan.SelectedValue;
|
||||
//}
|
||||
//approve.ApproveType = this.drpHandleType.SelectedValue;
|
||||
//BLL.CQMS_InspectionApproveService.AddInspectionApprove(approve);
|
||||
}
|
||||
}
|
||||
LogService.AddSys_Log(CurrUser, inspection.InspectionCode, inspection.InspectionId, Const.InspectionMenuId, "修改报验管理");
|
||||
|
||||
@@ -85,6 +85,9 @@
|
||||
<f:RenderField Width="100px" ColumnID="Material" DataField="Material"
|
||||
FieldType="String" HeaderText="材质" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="Factory" DataField="Factory"
|
||||
FieldType="String" HeaderText="生产厂家" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="PressClass" DataField="PressClass"
|
||||
FieldType="String" HeaderText="压力等级" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
|
||||
Reference in New Issue
Block a user