This commit is contained in:
邹宗楠
2022-10-09 20:20:20 +08:00
parent ed794eeed9
commit a92b7635fb
2 changed files with 9 additions and 3 deletions

View File

@@ -338,7 +338,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
}
// spec_prices
param.SpecPrices = GetSpecPrices(param.Specs, storeSku)
param.SpecPrices = GetSpecPrices(param.Specs, vendorStoreID, storeSku)
// ProductFormatNew
productFormatNew, err := GetProductFormatNew(param.CategoryLeafId, storeDetail.VendorOrgCode)
globals.SugarLogger.Debug("创建=============productFormatNew", productFormatNew)
@@ -412,7 +412,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
}
// spec_prices
param.SpecPrices = GetSpecPrices(param.Specs, storeSku)
param.SpecPrices = GetSpecPrices(param.Specs, vendorStoreID, storeSku)
// ProductFormatNew
productFormatNew, err := GetProductFormatNew(param.CategoryLeafId, storeDetail.VendorOrgCode)
globals.SugarLogger.Debug("更新=============productFormatNew", productFormatNew)