Commit 48dacd69 by mushishixian

成本价计算

parent 680ba3e5
Showing with 1 additions and 1 deletions
......@@ -449,7 +449,7 @@ func (ls *LyService) GetCoefficientAndPrice(sku model.LySku) model.LySku {
//美金售价
priceUs := priceCostUs * priceRatio.RatioUsd
//人民币成本价
priceCostCn := price.PriceUs * coefficient.Ratio * cnDiscountRatio
priceCostCn := price.PriceUs * coefficient.Ratio * cnDiscountRatio * tax
//人民币售价
priceCn := priceCostCn * priceRatio.Ratio * tax
data[key].PriceUs = common.MyRound(priceUs, 4)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment