shish 2 năm trước cách đây
mục cha
commit
ea8723f0d2

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

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