shish 2 лет назад
Родитель
Сommit
ea8723f0d2
1 измененных файлов с 1 добавлено и 1 удалено
  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);