cqpCow hace 2 años
padre
commit
3c842efb69
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      app/Service/FyySqlServerService.php

+ 3 - 0
app/Service/FyySqlServerService.php

@@ -621,6 +621,9 @@ class FyySqlServerService extends Service
             foreach ($list['data'] as $key => $value){
                 $list['data'][$key] = (array)$value;
                 $list['data'][$key]['unit'] = $messageMap[$value->cinvcode] ?? '';
+                $list['data'][$key]['iquantity'] = intval($value->iquantity);
+                $list['data'][$key]['out_quantity'] = intval($value->out_quantity);
+                $list['data'][$key]['quantity'] = intval($value->quantity);
             }
         }