修改商品采购价格设置

This commit is contained in:
lewis 2025-01-02 14:43:15 +08:00
parent b21bfe7657
commit 52561ce880

View File

@ -378,9 +378,7 @@ class PurchaseProductOfferLogic extends BaseLogic
break;
}
}
if (empty($storeProductGroupPrice)) {
return;
}
if (!empty($purchase)) {
foreach ($productCatePriceRate as $k => $v) {
if (empty($v['rate'])) {
continue;
@ -425,6 +423,7 @@ class PurchaseProductOfferLogic extends BaseLogic
}
}
}
}
$data['price_config'] = $priceConfig;
$find = StoreProductPrice::where(['offer_id' => $params['id']])->find();
if ($find) {