|
|
@@ -862,12 +862,12 @@ class OrderForm extends Model
|
|
|
if($goods['STORE_NUMS']>0){
|
|
|
if ($goods['TYPE'] == 1 || $goods['TYPE'] == 2) {
|
|
|
$discount = $goodsType[$goods['TYPE']]['discount'];
|
|
|
- $realPrice = $goods['SELL_PRICE'] * $discount/100;
|
|
|
+ $realPrice = $goodsNature['SELL_PRICE'] * $discount/100;
|
|
|
$realPv = $goods['PRICE_PV'] * $discount/100;
|
|
|
$realPriceStandard = $goods['SELL_PRICE_STANDARD'] * $discount/100;
|
|
|
} else {
|
|
|
$discount = $goods['SELL_DISCOUNT'];
|
|
|
- $realPrice = $goods['SELL_PRICE'] * $discount;
|
|
|
+ $realPrice = $goodsNature['SELL_PRICE'] * $discount;
|
|
|
$realPv = $goods['PRICE_PV'] * $discount;
|
|
|
$realPriceStandard = $goods['SELL_PRICE_STANDARD'] * $discount;
|
|
|
}
|