bug
This commit is contained in:
@@ -1124,7 +1124,7 @@ namespace Tnb.ProductionMgr
|
||||
throw Oops.Bah("已开始的不能再开始");
|
||||
}
|
||||
|
||||
if (item.mo_task_status!=DictConst.ToBeStartedEnCode || item.mo_task_status!=DictConst.MoStatusPauseCode)
|
||||
if (item.mo_task_status!=DictConst.ToBeStartedEnCode && item.mo_task_status!=DictConst.MoStatusPauseCode)
|
||||
{
|
||||
throw Oops.Bah("状态错误无法开始");
|
||||
}
|
||||
@@ -1144,7 +1144,7 @@ namespace Tnb.ProductionMgr
|
||||
{
|
||||
throw Oops.Bah("已完成的不能再完成");
|
||||
}
|
||||
if (item.mo_task_status!=DictConst.InProgressEnCode || item.mo_task_status!=DictConst.MoStatusPauseCode)
|
||||
if (item.mo_task_status!=DictConst.InProgressEnCode && item.mo_task_status!=DictConst.MoStatusPauseCode)
|
||||
{
|
||||
throw Oops.Bah("状态错误无法完成");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user