shish před 2 roky
rodič
revize
ea8723f0d2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app-ghs/controllers/StockOutController.php

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

@@ -239,7 +239,7 @@ class StockOutController extends BaseController
         if (empty($out)) {
             util::fail('没有找到出库记录');
         }
-        if ($out->mainId != $this->mainId) {
+        if ($out->outMainId != $this->mainId) {
             util::fail('不是你的出库单');
         }
         StockOutOrderClass::printOrder($out, $this->shop);