修改移交管理,增加统计报表以及添加字段
This commit is contained in:
@@ -57,6 +57,7 @@ namespace FineUIPro.Web.Transfer
|
||||
ddlAlignment.SelectedValue = model.Alignment;
|
||||
ddlMotorsoloruntest.SelectedValue = model.Motorsoloruntest;
|
||||
ddlStandalonetest.SelectedValue = model.Standalonetest;
|
||||
ddlLubricatefilling.SelectedValue = model.Lubricatefilling;
|
||||
txtDescriptions.Text = model.Descriptions;
|
||||
}
|
||||
}
|
||||
@@ -75,7 +76,8 @@ namespace FineUIPro.Web.Transfer
|
||||
Alignment = ddlAlignment.SelectedValue,
|
||||
Motorsoloruntest = ddlMotorsoloruntest.SelectedValue,
|
||||
Standalonetest = ddlStandalonetest.SelectedValue,
|
||||
Descriptions= txtDescriptions.Text
|
||||
Descriptions= txtDescriptions.Text,
|
||||
Lubricatefilling=ddlLubricatefilling.SelectedValue
|
||||
};
|
||||
|
||||
#region 判断状态
|
||||
@@ -83,13 +85,13 @@ namespace FineUIPro.Web.Transfer
|
||||
listObj.Add(model.Alignment);
|
||||
listObj.Add(model.Motorsoloruntest);
|
||||
listObj.Add(model.Standalonetest);
|
||||
|
||||
listObj.Add(model.Lubricatefilling);
|
||||
//全是NA或Completed 状态是Completed
|
||||
if (listObj.Where(x => x == "NA" || x == "Completed").ToList().Count == 3)
|
||||
if (listObj.Where(x => x == "NA" || x == "Completed").ToList().Count == 4)
|
||||
{
|
||||
model.MechanicalFINALStatus = "Completed";
|
||||
} //如果全是Not Start 就是 Not Start
|
||||
else if (listObj.Where(x => x == "Not Start").ToList().Count == 3)
|
||||
else if (listObj.Where(x => x == "Not Start").ToList().Count == 4)
|
||||
{
|
||||
model.MechanicalFINALStatus = "Not Start";
|
||||
}
|
||||
@@ -115,6 +117,7 @@ namespace FineUIPro.Web.Transfer
|
||||
newModel.Standalonetest = ddlStandalonetest.SelectedValue;
|
||||
newModel.MechanicalFINALStatus = model.MechanicalFINALStatus;
|
||||
newModel.Descriptions = txtDescriptions.Text;
|
||||
newModel.Lubricatefilling = ddlLubricatefilling.SelectedValue;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user