Kirin 2 gadi atpakaļ
vecāks
revīzija
c7d7e8db19
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 5 5
      app/models/system/SystemStoreStock.php

+ 5 - 5
app/models/system/SystemStoreStock.php

@@ -28,11 +28,11 @@ class SystemStoreStock extends BaseModel
             $export = [];
             foreach ($data as &$value) {
                 $export[] = [
-                    'store_name' => $value['store_name'],
-                    'price' => $value['price'],
-                    'in_stock' => $value['store_name'],
-                    'repair_sales' => $value['store_name'],
-                    'store_sales' => $value['store_name'],
+                    $value['store_name'],
+                    $value['price'],
+                    $value['store_name'],
+                    $value['store_name'],
+                    $value['store_name'],
                 ];
             }
             PHPExcelService::setExcelHeader(['商品名称', '价格', '库存', '待补货', '销量'])