现场质量问题台账

This commit is contained in:
2026-01-19 15:31:10 +08:00
parent feb9e58357
commit d4f5233fe5
32 changed files with 520 additions and 212 deletions
@@ -58,6 +58,8 @@ namespace FineUIPro.Web.CQMS.Comprehensive
this.txtValue14.Text = dataInTemp.Value14;
this.txtValue15.Text = dataInTemp.Value15;
this.txtValue16.Text = dataInTemp.Value16;
this.txtValue17.Text = dataInTemp.Value17;
this.txtValue18.Text = dataInTemp.Value18;
this.lbErrCout.Text = dataInTemp.ToopValue;
}
@@ -257,6 +259,30 @@ namespace FineUIPro.Web.CQMS.Comprehensive
}
}
}
if (dataInTemp.Value17 != this.txtValue17.Text.Trim())
{
var tempValue17 = allDataInTemp.Where(x => x.Value17 == dataInTemp.Value17 || (x.Value17 == null && dataInTemp.Value17 == null));
if (tempValue17 != null)
{
foreach (var item in tempValue17)
{
item.Value17 = this.txtValue17.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value18 != this.txtValue18.Text.Trim())
{
var tempValue18 = allDataInTemp.Where(x => x.Value18 == dataInTemp.Value18 || (x.Value18 == null && dataInTemp.Value18 == null));
if (tempValue18 != null)
{
foreach (var item in tempValue18)
{
item.Value18 = this.txtValue18.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
var toopValue = allDataInTemp.Where(x => x.ToopValue == dataInTemp.ToopValue);
if (toopValue != null)
{
@@ -290,6 +316,8 @@ namespace FineUIPro.Web.CQMS.Comprehensive
newDataInTemp.Value14 = this.txtValue14.Text.Trim();
newDataInTemp.Value15 = this.txtValue15.Text.Trim();
newDataInTemp.Value16 = this.txtValue16.Text.Trim();
newDataInTemp.Value17 = this.txtValue17.Text.Trim();
newDataInTemp.Value18 = this.txtValue18.Text.Trim();
if (!string.IsNullOrEmpty(this.TempId))
{
newDataInTemp.TempId = this.TempId;