修改商品采购价格设置
This commit is contained in:
parent
b21bfe7657
commit
52561ce880
@ -378,9 +378,7 @@ class PurchaseProductOfferLogic extends BaseLogic
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (empty($storeProductGroupPrice)) {
|
if (!empty($purchase)) {
|
||||||
return;
|
|
||||||
}
|
|
||||||
foreach ($productCatePriceRate as $k => $v) {
|
foreach ($productCatePriceRate as $k => $v) {
|
||||||
if (empty($v['rate'])) {
|
if (empty($v['rate'])) {
|
||||||
continue;
|
continue;
|
||||||
@ -425,6 +423,7 @@ class PurchaseProductOfferLogic extends BaseLogic
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
$data['price_config'] = $priceConfig;
|
$data['price_config'] = $priceConfig;
|
||||||
$find = StoreProductPrice::where(['offer_id' => $params['id']])->find();
|
$find = StoreProductPrice::where(['offer_id' => $params['id']])->find();
|
||||||
if ($find) {
|
if ($find) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user