提交代码

This commit is contained in:
2024-12-24 19:25:18 +08:00
parent 189a020cc7
commit fabf86ce86
19 changed files with 70 additions and 28 deletions
@@ -87,7 +87,7 @@ namespace FineUIPro.Web.Transfer
Communication = ddlCommunication.SelectedValue,
CableLaying = ddlCableLaying.SelectedValue,
FunctionTest = ddlFunctionTest.SelectedValue,
Descriptions= txtDescriptions.Text,
Descriptions = txtDescriptions.Text,
};
#region
@@ -96,8 +96,10 @@ namespace FineUIPro.Web.Transfer
listObj.Add(model.Communication);
listObj.Add(model.CableLaying);
listObj.Add(model.FunctionTest);
model.FINAL_Status = "Not Start";
//全是NA或Completed 状态是Completed
if (listObj.Where(x => x == "NA" || x == "Completed").ToList().Count ==4)
if (listObj.Where(x => x == "NA" || x == "Completed").ToList().Count == 4)
{
model.FINAL_Status = "Completed";
}
@@ -106,7 +108,6 @@ namespace FineUIPro.Web.Transfer
{
model.FINAL_Status = "Not Start";
}
//如果其中有一项是In progress 或Not Start 是 In progress
else if (listObj.Where(x => x == "In progress" || x == "Not Start").ToList().Count >= 1)
{