修改派车

optimize
jianghaiqing 2 years ago
parent 7004d8029f
commit c3b8b857bd

@ -1118,7 +1118,7 @@ namespace Myshipping.Application
if (operateType == OperateTypeEnum.Save)
{
if (entityArg.Any(a => a.Status != BookingTruckStatus.TEMP.ToString()
&& a.Status != BookingTruckStatus.CANCELED.ToString()))
&& a.Status != BookingTruckStatus.CANCELED.ToString() && a.Status != BookingTruckStatus.CANCEL_DISPATCH.ToString()))
{
throw Oops.Oh($"派车状态只有暂存、已撤销才能保存");
}

Loading…
Cancel
Save