cqpCow 2 years ago
parent
commit
3c842efb69
1 changed files with 3 additions and 0 deletions
  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);
             }
         }