Commit 6611f70d by 杨树贤

Merge branch 'ysx-自营含税-20260122' into dev

parents 22e5abd2 700776c5
Showing with 1 additions and 1 deletions
...@@ -955,7 +955,7 @@ func (ps *PriceService) GetComparePrice(sku model.LySku) model.LySku { ...@@ -955,7 +955,7 @@ func (ps *PriceService) GetComparePrice(sku model.LySku) model.LySku {
// 获取自营成本价 // 获取自营成本价
func (ps *PriceService) GetCostForZiying(sku model.LySku) model.LySku { func (ps *PriceService) GetCostForZiying(sku model.LySku) model.LySku {
if len(sku.OriginalPrice) != 0 { if len(sku.OriginalPrice) != 0 {
sku.Cost = sku.OriginalPrice[0].PriceCn sku.Cost = sku.OriginalPrice[0].CostPrice
} }
return sku return sku
......
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