fix: индикатор качества цены во всех таблицах конфигуратора; убраны заголовки колонки
price_quality теперь показывается не только на вкладке Base (renderTab), но и на остальных вкладках конфигуратора (renderMultiSelectTab, renderMultiSelectTabWithSections) — раньше индикатор был виден только в выпадающем списке поиска. Колонка-индикатор везде без текстового заголовка (только тултип), включая колонку «Качество» в прайслисте. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
702b459fc0
commit
0fa7b0b1b6
@@ -1560,6 +1560,7 @@ function renderMultiSelectTab(components) {
|
||||
<table class="w-full">
|
||||
<thead class="bg-gray-50">
|
||||
<tr>
|
||||
<th class="px-2 py-2 w-6" title="Качество цены"></th>
|
||||
<th class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase">LOT</th>
|
||||
<th class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase">Описание</th>
|
||||
<th class="px-3 py-2 text-right text-xs font-medium text-gray-500 uppercase w-24">Estimate</th>
|
||||
@@ -1578,6 +1579,7 @@ function renderMultiSelectTab(components) {
|
||||
|
||||
html += `
|
||||
<tr class="hover:bg-gray-50">
|
||||
<td class="px-2 py-2 text-center">${qualityDotHtml(comp?.price_quality)}</td>
|
||||
<td class="px-3 py-2 min-w-48">
|
||||
<div class="autocomplete-wrapper relative">
|
||||
<input type="text"
|
||||
@@ -1610,7 +1612,7 @@ function renderMultiSelectTab(components) {
|
||||
// Add empty row for new item
|
||||
html += `
|
||||
<tr class="hover:bg-gray-50 bg-gray-50">
|
||||
<td class="px-3 py-2" colspan="2">
|
||||
<td class="px-3 py-2" colspan="3">
|
||||
<div class="autocomplete-wrapper relative">
|
||||
<input type="text"
|
||||
id="input-new-item"
|
||||
@@ -1665,6 +1667,7 @@ function renderMultiSelectTabWithSections(sections) {
|
||||
<table class="w-full">
|
||||
<thead class="bg-gray-50">
|
||||
<tr>
|
||||
<th class="px-2 py-2 w-6" title="Качество цены"></th>
|
||||
<th class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase">LOT</th>
|
||||
<th class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase">Описание</th>
|
||||
<th class="px-3 py-2 text-right text-xs font-medium text-gray-500 uppercase w-24">Estimate</th>
|
||||
@@ -1687,6 +1690,7 @@ function renderMultiSelectTabWithSections(sections) {
|
||||
|
||||
html += `
|
||||
<tr class="hover:bg-gray-50">
|
||||
<td class="px-2 py-2 text-center">${qualityDotHtml(comp?.price_quality)}</td>
|
||||
<td class="px-3 py-2 min-w-48">
|
||||
<div class="autocomplete-wrapper relative">
|
||||
<input type="text"
|
||||
@@ -1720,7 +1724,7 @@ function renderMultiSelectTabWithSections(sections) {
|
||||
// Add empty row for new item in this section
|
||||
html += `
|
||||
<tr class="hover:bg-gray-50 bg-gray-50">
|
||||
<td class="px-3 py-2" colspan="2">
|
||||
<td class="px-3 py-2" colspan="3">
|
||||
<div class="autocomplete-wrapper relative">
|
||||
<input type="text"
|
||||
id="input-section-${sectionId}"
|
||||
|
||||
Reference in New Issue
Block a user