20250124 质量周报月报
This commit is contained in:
@@ -221,7 +221,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
|
||||
#region 加载文本框内容
|
||||
var txtReportList = db.Report_TextBoxContent.Where(x => x.ReportId == ReportId).ToList();
|
||||
if (txtReportList.Count>0)
|
||||
if (txtReportList.Count > 0)
|
||||
{
|
||||
txtAre0.Text = txtReportList.FirstOrDefault(x => x.ContentType == "0").ContentText;
|
||||
txtAre1.Text = txtReportList.FirstOrDefault(x => x.ContentType == "1").ContentText;
|
||||
@@ -525,7 +525,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
// where x.ProjectId == this.CurrUser.LoginProjectId && (x.UnitType == BLL.Const.ProjectUnitType_2 || x.UnitType == BLL.Const.ProjectUnitType_1)
|
||||
// orderby y.UnitCode
|
||||
// select new { x.UnitId, y.UnitName };
|
||||
var unitLists = units.Where(x => x.UnitType == BLL.Const.ProjectUnitType_2 || x.UnitType == BLL.Const.ProjectUnitType_1).ToList();
|
||||
var unitLists = units.Where(x => x.UnitType == BLL.Const.ProjectUnitType_2 || x.UnitType == BLL.Const.ProjectUnitType_1).ToList();
|
||||
foreach (var item in unitLists)
|
||||
{
|
||||
|
||||
@@ -1148,7 +1148,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
// where x.ProjectId == this.CurrUser.LoginProjectId && (x.UnitType == BLL.Const.ProjectUnitType_2)
|
||||
// orderby y.UnitCode
|
||||
// select new { x.UnitId, y.UnitName };
|
||||
var unitLists = units.Where(x => x.UnitType == BLL.Const.ProjectUnitType_2).ToList();
|
||||
var unitLists = units.Where(x => x.UnitType == BLL.Const.ProjectUnitType_2).ToList();
|
||||
|
||||
int? totalNum0 = 0, totalNum1 = 0;//拍片数量合计
|
||||
|
||||
@@ -2931,14 +2931,13 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
db.Report_CqmsTarget.InsertAllOnSubmit(detailLists);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 保存PQR/WPS报验情况
|
||||
void savePqrWps()
|
||||
{
|
||||
BLL.CQMS.ManageReport.ReportNew.ConstructionPlanService.Delete(ReportId,"5");
|
||||
BLL.CQMS.ManageReport.ReportNew.ConstructionPlanService.Delete(ReportId, "5");
|
||||
List<Model.Report_Construction_Plan> detailLists = new List<Model.Report_Construction_Plan>();
|
||||
JArray teamGroupData = Grid9.GetMergedData();
|
||||
foreach (JObject teamGroupRow in teamGroupData)
|
||||
@@ -3255,7 +3254,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
#region 9.计量器具报验管理情况
|
||||
void saveMeasuringInspection()
|
||||
{
|
||||
BLL.Report_CQMS_MonthReportItemService.DeleteReportItemByReportId(ReportId,"9");
|
||||
BLL.Report_CQMS_MonthReportItemService.DeleteReportItemByReportId(ReportId, "9");
|
||||
List<Model.Report_CQMS_MonthReportItem> detailLists = new List<Model.Report_CQMS_MonthReportItem>();
|
||||
JArray teamGroupData = gvMeasuringInspection.GetMergedData();
|
||||
foreach (JObject teamGroupRow in teamGroupData)
|
||||
@@ -4010,7 +4009,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||
|
||||
protected void Text_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
SaveMethod();
|
||||
//SaveMethod();
|
||||
}
|
||||
|
||||
protected override object LoadPageStateFromPersistenceMedium()
|
||||
|
||||
Reference in New Issue
Block a user