修改商品采购价格设置的错误
This commit is contained in:
parent
733adc5091
commit
77a1b62bb3
@ -378,7 +378,13 @@ class PurchaseProductOfferLogic extends BaseLogic
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (empty($storeProductGroupPrice)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
foreach ($productCatePriceRate as $k => $v) {
|
foreach ($productCatePriceRate as $k => $v) {
|
||||||
|
if (empty($v['rate'])) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if ($v['id'] == 4 &&$purchase>0) {
|
if ($v['id'] == 4 &&$purchase>0) {
|
||||||
//商户
|
//商户
|
||||||
$data['cost_lv'] = bcdiv($v['rate'], 100, 2);
|
$data['cost_lv'] = bcdiv($v['rate'], 100, 2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user