20220923 焊接终版测试修改
This commit is contained in:
@@ -130,6 +130,7 @@ namespace BLL
|
||||
newPipeline.PlanEndDate = pipeline.PlanEndDate;
|
||||
newPipeline.ActStartDate = pipeline.ActStartDate;
|
||||
newPipeline.ActEndDate = pipeline.ActEndDate;
|
||||
newPipeline.DrawingName = pipeline.DrawingName;
|
||||
db.HJGL_Pipeline_Component.InsertOnSubmit(newPipeline);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
@@ -156,6 +157,7 @@ namespace BLL
|
||||
newPipeline.PlanEndDate = pipeline.PlanEndDate;
|
||||
newPipeline.ActStartDate = pipeline.ActStartDate;
|
||||
newPipeline.ActEndDate = pipeline.ActEndDate;
|
||||
newPipeline.DrawingName = pipeline.DrawingName;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
@@ -244,5 +246,16 @@ namespace BLL
|
||||
Funs.FineUIPleaseSelect(dropName);
|
||||
}
|
||||
}
|
||||
public static void InitMainItemDownList(FineUIPro.DropDownList dropName, bool isShowPlease)
|
||||
{
|
||||
dropName.DataValueField = "Value";
|
||||
dropName.DataTextField = "Text";
|
||||
dropName.DataSource = GetState();
|
||||
dropName.DataBind();
|
||||
if (isShowPlease)
|
||||
{
|
||||
Funs.FineUIPleaseSelect(dropName);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user