CANCERYS\kw093 1 miesiąc temu
rodzic
commit
9aecdbbf88
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/components/StockTakeManagement/ApproverStockTakeAll.tsx

+ 1
- 1
src/components/StockTakeManagement/ApproverStockTakeAll.tsx Wyświetl plik

@@ -299,7 +299,7 @@ const ApproverStockTakeAll: React.FC<ApproverStockTakeAllProps> = ({
detail.bookQty != null ? detail.bookQty : (detail.availableQty || 0); detail.bookQty != null ? detail.bookQty : (detail.availableQty || 0);
if (bookQty === 0) return difference !== 0; if (bookQty === 0) return difference !== 0;
const threshold = Math.abs(bookQty) * (thresholdPercent / 100); const threshold = Math.abs(bookQty) * (thresholdPercent / 100);
return Math.abs(difference) > threshold;
return Math.abs(difference) >= threshold;
}); });
}, [ }, [
inventoryLotDetails, inventoryLotDetails,


Ładowanie…
Anuluj
Zapisz