From 497aee1e71bc98b62fddec820c9461fda95361c8 Mon Sep 17 00:00:00 2001 From: Mikhail Chusavitin Date: Tue, 15 Sep 2026 16:41:51 +0300 Subject: [PATCH] =?UTF-8?q?style:=20=D0=BC=D0=B8=D0=BD=D0=B8=D0=BC=D0=B0?= =?UTF-8?q?=D0=BB=D1=8C=D0=BD=D0=B0=D1=8F=20=D0=B2=D1=8B=D1=81=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=20=D1=81=D1=82=D1=80=D0=BE=D0=BA=20=D0=B2=20=D1=82=D0=B0?= =?UTF-8?q?=D0=B1=D0=BB=D0=B8=D1=86=D0=B0=D1=85=20=D0=B2=D0=BA=D0=BB=D0=B0?= =?UTF-8?q?=D0=B4=D0=BA=D0=B8=20=C2=AB=D0=A6=D0=B5=D0=BD=D0=BE=D0=BE=D0=B1?= =?UTF-8?q?=D1=80=D0=B0=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Заголовки/футеры py-2 -> py-1, тело обеих таблиц (Buy/Sale) py-1.5 -> py-0.5. Элементы управления под таблицами (инпуты, кнопки) не тронуты. Co-Authored-By: Claude Sonnet 5 --- web/templates/index.html | 76 ++++++++++++++++++++-------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/web/templates/index.html b/web/templates/index.html index 8c9c7de..51aa6ce 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -222,15 +222,15 @@ - {{if eq .IndicatorMode "accessible"}}{{end}} - - - - - - - - + {{if eq .IndicatorMode "accessible"}}{{end}} + + + + + + + + @@ -238,11 +238,11 @@ - - - - - + + + + +
Качество ценыPN вендораОписаниеLOTКол-воEstimateСкладКонкурентыРучная ценаКачество ценыPN вендораОписаниеLOTКол-воEstimateСкладКонкурентыРучная цена
@@ -271,13 +271,13 @@ - {{if eq .IndicatorMode "accessible"}}{{end}} - - - - - - + {{if eq .IndicatorMode "accessible"}}{{end}} + + + + + + @@ -285,8 +285,8 @@ - - + +
Качество ценыPN вендораОписаниеLOTКол-воНакидка, %ЦенаКачество ценыPN вендораОписаниеLOTКол-воНакидка, %Цена
@@ -4559,7 +4559,7 @@ async function renderPricingTab() { // amber world-fallback cell tint is replaced by a text marker. const ACCESSIBLE_MODE = window.QF_INDICATOR_MODE === 'accessible'; const meterCell = (q, bt) => ACCESSIBLE_MODE - ? `${qualityMeterHtml(q)}` + ? `${qualityMeterHtml(q)}` : ''; // ─── Build shared row data (unit prices for display, totals for math) ──── @@ -4722,18 +4722,18 @@ async function renderPricingTab() { const borderTop = r.groupStart ? 'border-t border-gray-200' : ''; const pnDescHtml = r.groupStart ? (() => { const rs = r.groupSize > 1 ? ` rowspan="${r.groupSize}"` : ''; - return `${r.vendorPN != null ? escapeHtml(r.vendorPN) : '—'} - ${escapeHtml(r.desc)}`; + return `${r.vendorPN != null ? escapeHtml(r.vendorPN) : '—'} + ${escapeHtml(r.desc)}`; })() : ''; tr.innerHTML = ` ${meterCell(r.priceQuality, borderTop)} ${pnDescHtml} - ${r.lotCell} - ${r.qty} - ${r.estUnit > 0 ? formatCurrency(r.estUnit) : '—'}${worldMark(r.estWorld)} - ${r.warehouseUnit != null ? formatCurrency(r.warehouseUnit) : '—'}${worldMark(r.whWorld)} - ${r.competitorUnit != null ? formatCurrency(r.competitorUnit) : '—'}${worldMark(r.compWorld)} - ${r.vendorOrigUnit != null ? formatCurrency(r.vendorOrigUnit) : '—'} + ${r.lotCell} + ${r.qty} + ${r.estUnit > 0 ? formatCurrency(r.estUnit) : '—'}${worldMark(r.estWorld)} + ${r.warehouseUnit != null ? formatCurrency(r.warehouseUnit) : '—'}${worldMark(r.whWorld)} + ${r.competitorUnit != null ? formatCurrency(r.competitorUnit) : '—'}${worldMark(r.compWorld)} + ${r.vendorOrigUnit != null ? formatCurrency(r.vendorOrigUnit) : '—'} `; tbodyBuy.appendChild(tr); }); @@ -4775,20 +4775,20 @@ async function renderPricingTab() { const borderTop = r.groupStart ? 'border-t border-gray-200' : ''; const pnDescHtml = r.groupStart ? (() => { const rs = r.groupSize > 1 ? ` rowspan="${r.groupSize}"` : ''; - return `${r.vendorPN != null ? escapeHtml(r.vendorPN) : '—'} - ${escapeHtml(r.desc)}`; + return `${r.vendorPN != null ? escapeHtml(r.vendorPN) : '—'} + ${escapeHtml(r.desc)}`; })() : ''; tr.innerHTML = ` ${meterCell(r.priceQuality, borderTop)} ${pnDescHtml} - ${r.lotCell} - ${r.qty} - + ${r.lotCell} + ${r.qty} + - —${worldMark(r.estWorld)} + —${worldMark(r.estWorld)} `; tbodySale.appendChild(tr); });