Show norm cost breakdown and reference rates in finder
This commit is contained in:
+42
-7
@@ -85,9 +85,17 @@
|
||||
.table-panel h2 { margin:0; }
|
||||
.table-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
|
||||
.norm-scroll { max-width:100%; overflow-x:auto; }
|
||||
.norm-table { min-width:720px; table-layout:fixed; font-size:.78rem; line-height:1.28; }
|
||||
.norm-table { min-width:1420px; table-layout:fixed; font-size:.78rem; line-height:1.28; }
|
||||
.norm-table th,.norm-table td { border:1px solid #d9e0e2; padding:4px 6px; vertical-align:middle; }
|
||||
.norm-table th { background:#eef2f4; position:sticky; top:0; z-index:1; }
|
||||
.norm-table tr > :first-child { position:sticky; left:0; z-index:2; background:#fff; }
|
||||
.norm-table thead th:first-child { z-index:3; background:#eef2f4; }
|
||||
.norm-table .norm-family-row td:first-child { background:#e8f0f3; }
|
||||
.norm-table .norm-section-heading td:first-child,
|
||||
.norm-table .norm-tools-row td:first-child { background:#f7fafb; }
|
||||
.norm-table .norm-tools-row td:first-child { position:static; }
|
||||
.norm-table .norm-work-row td:first-child,
|
||||
.norm-table .norm-resource-row td:first-child { background:#fbfcfc; }
|
||||
.norm-table .norm-row:hover { background:#f2f7f7; }
|
||||
.norm-table .norm-row td,.norm-table .norm-resource-row td,
|
||||
.norm-table .norm-work-row td { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
||||
@@ -107,7 +115,15 @@
|
||||
.norm-tools { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
|
||||
.norm-tools .secondary { min-height:26px; padding:2px 8px; font-size:.75rem; }
|
||||
.norm-tools .variant-list { width:100%; }
|
||||
.table-mobile-hint { display:none; }
|
||||
.rate-panel { border:1px solid var(--line); border-radius:8px; padding:9px 12px; margin:4px 0 12px; }
|
||||
.rate-panel summary { cursor:pointer; font-weight:650; }
|
||||
.rate-panel[open] summary { margin-bottom:10px; }
|
||||
.rate-panel label { max-width:620px; margin:12px 0; }
|
||||
.rate-panel .scroll { margin:8px 0 14px; }
|
||||
.rate-panel table { min-width:650px; }
|
||||
.rate-panel th,.rate-panel td { border:1px solid var(--line); }
|
||||
.rate-panel input { width:100%; min-width:88px; }
|
||||
.table-scroll-hint { margin:2px 0 8px; }
|
||||
.breadcrumb { color:var(--muted); font-size:.84rem; overflow-wrap:anywhere; }
|
||||
.catalog-mobile { display:none; }
|
||||
[hidden] { display:none !important; }
|
||||
@@ -118,8 +134,7 @@
|
||||
.catalog-mobile { display:block; margin-bottom:10px; }
|
||||
.catalog-tree { position:static; max-height:45vh; margin-bottom:12px; }
|
||||
.catalog-tree[hidden] { display:none !important; }
|
||||
.table-mobile-hint { display:block; }
|
||||
.norm-table { min-width:760px; }
|
||||
.norm-table { min-width:1420px; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
@@ -147,8 +162,28 @@
|
||||
<section id="results-section" class="panel table-panel" aria-label="Нормы сборника">
|
||||
<div class="table-heading"><h2 id="results-title">Нормы сборника</h2><span id="result-count" class="hint"></span></div>
|
||||
<p id="breadcrumb" class="breadcrumb"></p>
|
||||
<p class="hint table-mobile-hint">Таблица прокручивается по горизонтали.</p>
|
||||
<div class="norm-scroll"><table class="norm-table"><colgroup><col style="width:18%"><col style="width:47%"><col style="width:12%"><col style="width:10%"><col style="width:13%"></colgroup><thead><tr><th>Шифр</th><th>Наименование</th><th>Ед. изм.</th><th class="num">Расход</th><th class="num">ПЗ, руб.</th></tr></thead><tbody id="results"></tbody></table></div>
|
||||
<details id="rate-panel" class="rate-panel">
|
||||
<summary>НР, СП и коэффициенты</summary>
|
||||
<p class="hint">Ставки НР и СП зависят от вида работ. Выберите пункт загруженного справочника 812/пр и 774/пр; по одному номеру сборника ставка не назначается.</p>
|
||||
<label for="rate-type">Вид работ для НР и СП<select id="rate-type"><option value="">Выберите вид работ</option></select></label>
|
||||
<div class="scroll"><table><thead><tr><th>НР, код</th><th class="num">НР, %</th><th class="num">НР, % (МРК)</th><th class="num">НР, % (РКС)</th><th>СП, код</th><th class="num">СП, %</th></tr></thead><tbody><tr id="rate-values"><td>—</td><td class="num">—</td><td class="num">—</td><td class="num">—</td><td>—</td><td class="num">—</td></tr></tbody></table></div>
|
||||
<p class="hint">Отдельные значения для МРК и РКС в загруженном справочнике отсутствуют. Коэффициенты к НР и СП указывайте только при наличии основания.</p>
|
||||
<div class="scroll"><table><thead><tr><th>НР, К</th><th>СП, К</th></tr></thead><tbody><tr>
|
||||
<td><input id="coef-nr" type="number" min="0.01" max="100" step="any" inputmode="decimal" aria-label="Коэффициент НР" placeholder="1,00"></td>
|
||||
<td><input id="coef-sp" type="number" min="0.01" max="100" step="any" inputmode="decimal" aria-label="Коэффициент СП" placeholder="1,00"></td>
|
||||
</tr></tbody></table></div>
|
||||
<p class="hint">Коэффициенты задаются условиями проекта. Введите их вручную для справки: они не меняют базисные суммы таблицы.</p>
|
||||
<div class="scroll"><table><thead><tr><th>ОТ</th><th>ЗТ</th><th>ЭМ</th><th>ОТм</th><th>ЗТм</th><th>МАТ</th></tr></thead><tbody><tr>
|
||||
<td><input id="coef-ot" type="number" min="0.01" max="100" step="any" inputmode="decimal" aria-label="Коэффициент ОТ" placeholder="1,00"></td>
|
||||
<td><input id="coef-zt" type="number" min="0.01" max="100" step="any" inputmode="decimal" aria-label="Коэффициент ЗТ" placeholder="1,00"></td>
|
||||
<td><input id="coef-em" type="number" min="0.01" max="100" step="any" inputmode="decimal" aria-label="Коэффициент ЭМ" placeholder="1,00"></td>
|
||||
<td><input id="coef-otm" type="number" min="0.01" max="100" step="any" inputmode="decimal" aria-label="Коэффициент ОТм" placeholder="1,00"></td>
|
||||
<td><input id="coef-ztm" type="number" min="0.01" max="100" step="any" inputmode="decimal" aria-label="Коэффициент ЗТм" placeholder="1,00"></td>
|
||||
<td><input id="coef-mat" type="number" min="0.01" max="100" step="any" inputmode="decimal" aria-label="Коэффициент МАТ" placeholder="1,00"></td>
|
||||
</tr></tbody></table></div>
|
||||
</details>
|
||||
<p class="hint table-scroll-hint">Прокрутите таблицу вправо для разбивки затрат; шифр останется виден. ОТм входит в ЭМ. В ГЭСН указаны нормы расхода без готовой единичной цены. Суммы ФЕР-2020 — базис на 01.01.2000, не текущие цены.</p>
|
||||
<div class="norm-scroll"><table class="norm-table"><colgroup><col style="width:13%"><col style="width:31%"><col style="width:9%"><col style="width:7%"><col style="width:8%"><col style="width:8%"><col style="width:8%"><col style="width:8%"><col style="width:8%"></colgroup><thead><tr><th>Шифр</th><th>Наименование</th><th>Ед. изм.</th><th class="num">Расход</th><th class="num">ПЗ, руб.</th><th class="num" title="Оплата труда рабочих">ОТ, руб.</th><th class="num" title="Эксплуатация машин">ЭМ, руб.</th><th class="num" title="Оплата труда машинистов входит в ЭМ, второй раз к ПЗ не прибавляется">ОТм, руб.</th><th class="num" title="Материалы">МАТ, руб.</th></tr></thead><tbody id="results"></tbody></table></div>
|
||||
<div class="actions" style="margin-top:16px"><button id="more-results" type="button" class="secondary" hidden>Показать ещё нормы</button></div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -179,6 +214,6 @@
|
||||
<section id="compare-section" class="section" hidden><h2>Сравнение норм</h2><p id="compare-warning" class="notice" hidden></p>
|
||||
<div id="comparison" class="comparison"></div></section>
|
||||
</main>
|
||||
<script src="/static/norm-finder.js?v=2026-12-04g" defer></script>
|
||||
<script src="/static/norm-finder.js?v=2026-12-04h" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user