@ -261,6 +261,7 @@ class OrderRefund extends OrderRefundModel
{
// 订单详情
$order = Order::detail($this['order_id']);
$data['refund_money'] = empty($data['refund_money'])?0:$data['refund_money'];
if ($data['refund_money'] > min($order['pay_price'], $this['orderGoods']['total_pay_price'])) {
$this->error = '退款金额不能大于商品实付款金额';
return false;