cqpCow 1 year ago
parent
commit
d688293853
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Service/InventoryService.php

+ 1 - 1
app/Service/InventoryService.php

@@ -95,7 +95,7 @@ class InventoryService extends Service
         $order = $order->toArray();
         if($order['inventory_time']) {
             $return = $this->changeDateToNewDate(json_decode($order['inventory_time'],true));
-            $order['inventory_time'] = $return[0] . '-' . $return[1];
+            $order['inventory_time'] = $return;
         }
 
         $apply = InventoryOrderAsset::where('order_no',$data['order_no'])