Explorar el Código

退货添加收货字段

yuang hace 4 años
padre
commit
6b32c35e11
Se han modificado 1 ficheros con 1 adiciones y 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)
     {