xieruidong 2 years ago
parent
commit
73c553aab2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common/model/Refund.php

+ 1 - 1
application/common/model/Refund.php

@@ -141,7 +141,7 @@ class Refund Extends Model
         $order=$orderInfo->orders;
         $refundConfig=[];
 
-        if(!$orderInfo->refund || $orderInfo->refund->allowApply()) {
+        if(!$orderInfo->refund || $orderInfo->refund->allowApply() || $orderInfo->refund->allowEdit()) {
             #未发货
             if (in_array($order['status'], [$order::S_WAIT_SEND])) {
                 $refundConfig['refund_type'] = Arr::only(self::getRefundTypes(), [