焊接修改
This commit is contained in:
@@ -11,6 +11,10 @@ namespace BLL
|
||||
{
|
||||
public class HJGL_PipelineComponentService
|
||||
{
|
||||
/// <summary>
|
||||
/// 验收不合格
|
||||
/// </summary>
|
||||
public static int state_Msg = -1;
|
||||
/// <summary>
|
||||
/// 未验收
|
||||
/// </summary>
|
||||
@@ -33,10 +37,11 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static ListItem[] GetState()
|
||||
{
|
||||
ListItem[] list = new ListItem[3];
|
||||
ListItem[] list = new ListItem[4];
|
||||
list[0] = new ListItem("未验收", state_0.ToString());
|
||||
list[1] = new ListItem("已验收", state_1.ToString());
|
||||
list[2] = new ListItem("已出库", state_2.ToString());
|
||||
list[3] = new ListItem("验收不合格", state_Msg.ToString());
|
||||
return list;
|
||||
}
|
||||
/// <summary>
|
||||
@@ -241,6 +246,7 @@ namespace BLL
|
||||
newPipeline.ReceiveDate= pipeline.ReceiveDate;
|
||||
newPipeline.ProductionState= pipeline.ProductionState;
|
||||
newPipeline.IsPrint= pipeline.IsPrint;
|
||||
newPipeline.Remark = pipeline.Remark;
|
||||
db.HJGL_Pipeline_Component.InsertOnSubmit(newPipeline);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
@@ -272,6 +278,7 @@ namespace BLL
|
||||
newPipeline.ReceiveDate = pipeline.ReceiveDate;
|
||||
newPipeline.ProductionState = pipeline.ProductionState;
|
||||
newPipeline.IsPrint=pipeline.IsPrint;
|
||||
newPipeline.Remark = pipeline.Remark;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user