cqpCow 1 year ago
parent
commit
8013cf0162
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Service/InventoryService.php

+ 1 - 1
app/Service/InventoryService.php

@@ -298,7 +298,7 @@ class InventoryService extends Service
         if(empty($data['data'])) return [false,'盘点单资产数据不能为空'];
 
         $bool = InventoryOrder::where('order_no',$data['order_no'])
-            ->where('state','>',InventoryOrder::STATE_ZERO)
+            ->where('state',InventoryOrder::STATE_TWO)
             ->exists();
         if($bool) return [false,'请确认盘点单状态,盘点失败!'];