panghu 8 miesięcy temu
rodzic
commit
f1b56a3a77
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Servers/GoodsSpecServer.php

+ 1 - 1
app/Servers/GoodsSpecServer.php

@@ -40,7 +40,7 @@ class GoodsSpecServer
     {
         $sku = GoodsSku::where('goods_id',$goods_id)
             ->where('is_del',0)
-            ->select(['id as sku_id','sku_name'])
+            ->select(['id as sku_id','sku_name','sku_type','affect_quantity'])
             ->orderBy('id','asc')
             ->get();
         foreach ($sku as $value){