shish 4 anni fa
parent
commit
2d3fd4c96d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app-ghs/controllers/StockOutController.php

+ 1 - 1
app-ghs/controllers/StockOutController.php

@@ -69,7 +69,7 @@ class StockOutController extends BaseController
                 util::fail('没有找到门店');
             }
             ShopClass::valid($inShop, $this->sjId);
-            $post['inMainId'] = $inShop->mainId ?? 0;
+            $post['inMainId'] = $inShop['mainId'] ?? 0;
 
             ProductClass::valid($ghsItemInfo, $this->mainId);
             //判断花材里的信息