|
|
@ -185,6 +185,8 @@ JS |
|
|
//计算价格
|
|
|
//计算价格
|
|
|
if ($order->status == OrderStatus::PAY_EARNEST) { |
|
|
if ($order->status == OrderStatus::PAY_EARNEST) { |
|
|
$price = $order->price - $order->paid_money; |
|
|
$price = $order->price - $order->paid_money; |
|
|
|
|
|
} elseif (in_array($order->pay_type, [PayType::DEPOSIT_PAY, PayType::EARNEST_PAY])) { |
|
|
|
|
|
$price = $order->prepay_price; |
|
|
} else { |
|
|
} else { |
|
|
$price = $order->price; |
|
|
$price = $order->price; |
|
|
} |
|
|
} |
|
|
|