shish 3 سال پیش
والد
کامیت
a5433853fc
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      app-ghs/controllers/StockInController.php

+ 2 - 0
app-ghs/controllers/StockInController.php

@@ -51,6 +51,8 @@ class StockInController extends BaseController
                     ];
                 }
             }
+            $id = $item['id'] ?? 0;
+            StockInOrderClass::updateById($id, ['check' => 1]);
         }
         if (empty($use)) {
             util::fail('没有找到需要盘点的花材');