|
|
@ -959,13 +959,13 @@ namespace BBWYB.Server.Business |
|
|
|
{ |
|
|
|
Logo = orderSku.Logo, |
|
|
|
Title = orderSku.Title, |
|
|
|
SkuId = skuId, |
|
|
|
SkuId = skuId, |
|
|
|
OrderId = orderSku.OrderId, |
|
|
|
SkuAmount = orderPurchaseSkuOfCurrentSchemeList.Sum(psku => psku.ProductAmount), |
|
|
|
PurchaseQuantity = orderSku.ItemTotal.Value, |
|
|
|
PurchaseFreight = purchaseOrderSimpleInfo.FreightAmount * (1.0M * orderPurchaseSkuOfCurrentSchemeList.Sum(x => x.Quantity) / totalPurchaseCount) |
|
|
|
}; |
|
|
|
assocationOrderCostDetail.PurchasePrice = assocationOrderCostDetail.SkuAmount / assocationOrderCostDetail.PurchaseFreight; |
|
|
|
assocationOrderCostDetail.PurchasePrice = assocationOrderCostDetail.SkuAmount / assocationOrderCostDetail.PurchaseQuantity; |
|
|
|
assocationOrderCostDetailList.Add(assocationOrderCostDetail); |
|
|
|
} |
|
|
|
#endregion
|
|
|
|