|
|
@ -66,7 +66,7 @@ public class PutawayNoteAppService : |
|
|
|
throw new UserFriendlyException($"零件名称【{detail.ItemCode}】的订单明细行以关闭无法执行采购上架!"); |
|
|
|
} |
|
|
|
var isprice = await _purchasePriceSheetAppService.CheckPurPriceAsync(input.SupplierCode, detail.ItemCode).ConfigureAwait(false); |
|
|
|
if (isClosed) |
|
|
|
if (isprice) |
|
|
|
{ |
|
|
|
throw new UserFriendlyException($"供应商【{input.SupplierCode}】零件名称【{detail.ItemCode}】无采购价格无法执行采购上架!"); |
|
|
|
} |
|
|
|