shish 3 лет назад
Родитель
Сommit
623e2627be
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      biz-ghs/product/classes/ProductClass.php

+ 1 - 1
biz-ghs/product/classes/ProductClass.php

@@ -141,7 +141,7 @@ class ProductClass extends BaseClass
             if (isset($v['discountPrice']) && $v['discountPrice'] > 0) {
                 //改价列表显示的散客价【重要】
                 $currentAddPrice = $v['skMore'] ?? 0;
-                $list[$k]['skPrice'] = bcadd($price, $currentAddPrice, 2);
+                $list[$k]['skPrice'] = bcadd($v['discountPrice'], $currentAddPrice, 2);
             }
 
             $list[$k]['price'] = $price;