Ver Fonte

确认盘点

shish há 3 anos atrás
pai
commit
a5433853fc
1 ficheiros alterados com 2 adições e 0 exclusões
  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)) {
         if (empty($use)) {
             util::fail('没有找到需要盘点的花材');
             util::fail('没有找到需要盘点的花材');