|
|
@ -134,7 +134,7 @@ public class MaterialRequestAppService : SfsStoreRequestAppServiceBase<MaterialR |
|
|
|
throw new UserFriendlyException($"库位代码为【{LocationCode}】不存在"); |
|
|
|
} |
|
|
|
|
|
|
|
if (LocationDto.Type == EnumLocationType.WIP) |
|
|
|
if (LocationDto.Type != EnumLocationType.WIP) |
|
|
|
{ |
|
|
|
throw new UserFriendlyException($"库位代码【{LocationCode}】不是【{EnumLocationType.WIP.GetDisplayName()}】类型"); |
|
|
|
} |
|
|
|