提交代码
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user