Filter Finder






EHP | نظام البحث عن الفلاتر الهيدروليكية


🔍 نظام البحث عن الفلاتر

EHP – Engineering For Hydraulics & Pneumatics

0 فلتر

🔄 Eaton EasyFit
📋 Cross Reference
🔧 Hydraulic Filters
📊 HYDAC • MAHLE • PALL
🔎













💡 اكتب رقم الفلتر أو جزء من الوصف للبحث

📋 بيانات الفلتر

–

🔢 رقم القطعة (Ident No.)–
📝 الوصف (Designation)–
🔄 الفلتر البديل (Alternative)–
📂 القسم (Section)–

© EHP – Engineering For Hydraulics & Pneumatics | Eaton EasyFit Cross Reference | 0 فلتر

`); printWindow.document.close(); }

function sendWhatsApp() { if (!currentResult) { setStatus('warning', '⚠️ لا توجد بيانات للإرسال'); return; } const phone = '01273007266'; const message = `🔍 *بيانات الفلتر - EHP*\n\n` + `🔢 *رقم القطعة:* ${currentResult[0]}\n` + `📝 *الوصف:* ${currentResult[1]}\n` + `🔄 *الفلتر البديل:* ${currentResult[2]}\n` + `📂 *القسم:* ${currentResult[3]}\n\n` + `📅 ${new Date().toLocaleDateString('ar-EG')}`;

const encoded = encodeURIComponent(message); const url = `https://wa.me/${phone}?text=${encoded}`; window.open(url, '_blank'); }

searchInput.addEventListener('input', function() { const query = this.value; if (query.length > 0) { clearBtn.style.display = 'block'; performSearch(query); } else { clearBtn.style.display = 'none'; suggestionsBox.classList.remove('show'); resultCard.classList.remove('show'); setStatus('info', '💡 اكتب رقم الفلتر أو جزء من الوصف للبحث'); } });

searchInput.addEventListener('keydown', function(e) { if (e.key === 'Escape') { clearSearch(); } if (e.key === 'Enter') { const firstSuggestion = suggestionsBox.querySelector('.suggestion-item'); if (firstSuggestion) { firstSuggestion.click(); } } if (e.key === 'ArrowDown' || e.key === 'ArrowUp') { e.preventDefault(); const items = suggestionsBox.querySelectorAll('.suggestion-item'); if (items.length === 0) return; let currentIndex = -1; items.forEach((el, i) => { if (el.classList.contains('active')) { el.classList.remove('active'); currentIndex = i; } }); let newIndex = e.key === 'ArrowDown' ? Math.min(currentIndex + 1, items.length - 1) : Math.max(currentIndex - 1, 0); items[newIndex].classList.add('active'); items[newIndex].scrollIntoView({ block: 'nearest' }); } });

document.addEventListener('click', function(e) { if (!e.target.closest('.search-wrapper')) { suggestionsBox.classList.remove('show'); } });

clearBtn.addEventListener('click', clearSearch);

setStatus('info', '💡 اكتب رقم الفلتر أو جزء من الوصف للبحث');

console.log('✅ نظام البحث جاهز | عدد الفلاتر:', filterData.length);