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); });