20250124 质量周报月报

This commit is contained in:
2025-01-24 17:39:19 +08:00
parent 85bd05b848
commit 915a460c6b
4 changed files with 30 additions and 32 deletions
@@ -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()