undefined / warehouse.html
porfeeman's picture
Сайт для эксклюзивных партнеров компании ЭМИЗ на русском языке, внутренний учет клиентов и продаж, контроль отгрузок и склада, обучающий блок
c796aed verified
Raw History Blame Contribute Delete
14.5 kB
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ЭМИЗ | Складской учет</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#6C3483',
secondary: '#F39C12',
grape: {
100: '#F5EEF8',
500: '#6C3483',
900: '#4A235A'
}
}
}
}
}
</script>
</head>
<body class="bg-gray-50 font-sans antialiased">
<!-- Main content -->
<main class="md:ml-64 pt-16 md:pt-0">
<div class="px-4 py-6 md:px-8">
<div class="flex justify-between items-center mb-6">
<h1 class="text-2xl md:text-3xl font-bold text-gray-800">Складской учет</h1>
<button class="px-4 py-2 bg-primary text-white rounded-lg text-sm font-medium hover:bg-primary-dark transition">
<i data-feather="plus" class="w-4 h-4 mr-1 inline"></i>
Новая поставка
</button>
</div>
<!-- Inventory Stats -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<div class="bg-white rounded-xl shadow-md p-6">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-sm">Всего позиций</p>
<h3 class="text-2xl font-bold text-gray-800 mt-2">42</h3>
</div>
<div class="bg-primary bg-opacity-10 p-3 rounded-full">
<i data-feather="box" class="text-primary"></i>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md p-6">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-sm">Товаров на складе</p>
<h3 class="text-2xl font-bold text-gray-800 mt-2">1,248</h3>
</div>
<div class="bg-secondary bg-opacity-10 p-3 rounded-full">
<i data-feather="database" class="text-secondary"></i>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md p-6">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-sm">Предзаказы</p>
<h3 class="text-2xl font-bold text-gray-800 mt-2">18</h3>
</div>
<div class="bg-blue-500 bg-opacity-10 p-3 rounded-full">
<i data-feather="clock" class="text-blue-500"></i>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md p-6">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-sm">Скоро заканчивается</p>
<h3 class="text-2xl font-bold text-gray-800 mt-2">5</h3>
</div>
<div class="bg-yellow-500 bg-opacity-10 p-3 rounded-full">
<i data-feather="alert-triangle" class="text-yellow-500"></i>
</div>
</div>
</div>
</div>
<!-- Inventory Table -->
<div class="bg-white rounded-xl shadow-md overflow-hidden mb-8">
<div class="px-6 py-4 border-b border-gray-100 flex justify-between items-center">
<h3 class="text-lg font-semibold text-gray-800">Товары на складе</h3>
<div class="relative">
<input type="text" placeholder="Поиск по складу..." class="pl-10 pr-4 py-2 border border-gray-200 rounded-lg focus:ring-primary focus:border-primary">
<i data-feather="search" class="absolute left-3 top-2.5 text-gray-400"></i>
</div>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Код</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Наименование</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Категория</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Остаток</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Резерв</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Статус</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-1001</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Кьянти Классико 2020</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Италия</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">42</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">5</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">В наличии</span>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-1002</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Бордо Престиж 2018</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Франция</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">28</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">3</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">В наличии</span>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-1003</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Риоха Гран Резерва 2015</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Испания</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">12</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">7</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Мало</span>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-primary">#EMZ-1004</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Шато Марго 2017</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Франция</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">0</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">4</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Нет в наличии</span>
</td>
</tr>
</tbody>
</table>
</div>
<div class="px-6 py-4 border-t border-gray-100 flex justify-between items-center">
<span class="text-sm text-gray-500">Показано 4 из 42 позиций</span>
<div class="flex space-x-2">
<button class="px-3 py-1 bg-gray-100 text-gray-700 rounded-md text-sm">Назад</button>
<button class="px-3 py-1 bg-primary text-white rounded-md text-sm">Вперед</button>
</div>
</div>
</div>
<!-- Supply Management -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8">
<!-- Expected Supplies -->
<div class="bg-white rounded-xl shadow-md p-6">
<div class="flex justify-between items-center mb-4">
<h3 class="text-lg font-semibold text-gray-800">Ожидаемые поставки</h3>
<button class="text-primary text-sm font-medium">Все поставки</button>
</div>
<div class="space-y-4">
<div class="border-l-4 border-secondary pl-4 py-2">
<p class="text-sm font-medium text-gray-800">#SUP-1025 - 15.06.2023</p>
<p class="text-xs text-gray-500">12 позиций • 240 бутылок</p>
</div>
<div class="border-l-4 border-blue-500 pl-4 py-2">
<p class="text-sm font-medium text-gray-800">#SUP-1024 - 10.06.2023</p>
<p class="text-xs text-gray-500">8 позиций • 192 бутылки</p>
</div>
<div class="border-l-4 border-green-500 pl-4 py-2">
<p class="text-sm font-medium text-gray-800">#SUP-1023 - 05.06.2023</p>
<p class="text-xs text-gray-500">6 позиций • 144 бутылки</p>
</div>
</div>
</div>
<!-- Inventory Alerts -->
<div class="bg-white rounded-xl shadow-md p-6">
<div class="flex justify-between items-center mb-4">
<h3 class="text-lg font-semibold text-gray-800">Требуют внимания</h3>
<button class="text-primary text-sm font-medium">Все уведомления</button>
</div>
<div class="space-y-4">
<div class="flex items-start">
<div class="bg-yellow-500 bg-opacity-10 p-2 rounded-full mr-3">
<i data-feather="alert-triangle" class="text-yellow-500 w-4 h-4"></i>
</div>
<div>
<p class="text-sm text-gray-800">Заканчивается: Кьянти Классико 2020 (осталось 5 шт.)</p>
<p class="text-xs text-gray-500">Рекомендуемый заказ: 24 бутылки</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-red-500 bg-opacity-10 p-2 rounded-full mr-3">
<i data-feather="alert-octagon" class="text-red-500 w-4 h-4"></i>
</div>
<div>
<p class="text-sm text-gray-800">Нет в наличии: Шато Марго 2017</p>
<p class="text-xs text-gray-500">Ожидается 12.06.2023</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-blue-500 bg-opacity-10 p-2 rounded-full mr-3">
<i data-feather="info" class="text-blue-500 w-4 h-4"></i>
</div>
<div>
<p class="text-sm text-gray-800">Истекает срок хранения: Бордо Престиж 2018 (2 ящика)</p>
<p class="text-xs text-gray-500">Рекомендуем продать до 30.06.2023</p>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<script>
feather.replace();
</script>
</body>
</html>