Explorar o código

退货添加收货字段

yuang %!s(int64=4) %!d(string=hai) anos
pai
achega
6b32c35e11
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/RejectedBill.php

+ 1 - 1
app/RejectedBill.php

@@ -64,7 +64,7 @@ class RejectedBill extends Model
     public function getDeliveryStatusAttribute($value)
     {
         if(!$value)return '';
-        return self::$enums['delivery_status'][$value];
+        return self::$enums['delivery_status'][$value]??'';
     }
     public function setDeliveryStatusAttribute($value)
     {