反算京西价bug,银豹平台,没玩刷新物料订单
This commit is contained in:
@@ -3649,10 +3649,12 @@ func RefreshJxPriceByVendor(ctx *jxcontext.Context, jdStoreSkus []*JdStoreSkus,
|
||||
} else {
|
||||
vendorPrice = v.Price
|
||||
}
|
||||
fmt.Println("RefreshJxPriceByVendor1", vendorPrice)
|
||||
jxPrice := jxutils.CaculateJxPriceByPricePack(pricePercentagePack, 0, vendorPrice)
|
||||
if skus[0].Unit == model.SpecialUnit {
|
||||
jxPrice = jxPrice * int(utils.Float64TwoInt64(utils.Int2Float64(model.SpecialSpecQuality)/specQuality))
|
||||
}
|
||||
fmt.Println("RefreshJxPriceByVendor2", jxPrice)
|
||||
jdMap[store.ID] = append(jdMap[store.ID], &JdStoreSkus{
|
||||
JdSkuID: skus[0].NameID,
|
||||
Price: jxPrice,
|
||||
|
||||
Reference in New Issue
Block a user