|
|
@ -163,9 +163,9 @@ public class ThirdLocationRequestAppService : SfsStoreRequestAppServiceBase<Thir |
|
|
|
throw new UserFriendlyException($"{detailInput.ItemCode} 物品的库存为 {realityBalance} ,库存不够"); |
|
|
|
} |
|
|
|
|
|
|
|
//detailInput.ProdLine = detailInput.ToLocationCode;
|
|
|
|
|
|
|
|
detailInput.ToLocationErpCode = toLocationDto.ErpLocationCode; |
|
|
|
detailInput.IssuedQty = detailInput.Qty; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
@ -188,6 +188,7 @@ public class ThirdLocationRequestAppService : SfsStoreRequestAppServiceBase<Thir |
|
|
|
detail.ItemName = itemBasicDto.Name; |
|
|
|
detail.Uom = itemBasicDto.BasicUom; |
|
|
|
detail.StdPackQty = itemBasicDto.StdPackQty; |
|
|
|
detail.IssuedQty = detail.Qty; |
|
|
|
} |
|
|
|
|
|
|
|
var result = await _thirdLocationRequestManager.CreateAsync(entity).ConfigureAwait(false); |
|
|
|