yangsai@163.com 7 months ago
parent 03b30a2569
commit 7e90bd19a7
  1. 1
      app/store/model/OrderRefund.php

@ -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;

Loading…
Cancel
Save