Corrección de visibilidad y diseño en la tabla de productos duplicados. Mejora global en el sistema de paginación y optimización de anchos de tabla.

This commit is contained in:
2026-01-09 16:55:08 -06:00
parent cea1423109
commit 6839e0efd2
6 changed files with 72 additions and 83 deletions

View File

@@ -1,61 +1,53 @@
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a" style="border-top:1px solid #999999">
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-search" style="border-top:1px solid #999999">
<thead>
<tr>
<th width="10%"></th>
<th align="center" width="250"><div align="center">No. Prov.</div></th>
<th align="center"><div align="center">Proveedor</div></th>
<th align="center"><div align="center">Departamento</div></th>
<th align="center"><div align="center">Modelo</div></th>
<th align="center"><div align="center">Codigo de Barra</div></th>
<th width="10%"></th>
<th align="center" width="80"><div align="center">No. Prov.</div></th>
<th align="center" width="220"><div align="center">Proveedor</div></th>
<th align="center" width="220"><div align="center">Departamento</div></th>
<th align="center" width="180"><div align="center">Modelo</div></th>
<th align="center" width="120"><div align="center">Cod. Barra</div></th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td align="center">
<input type="text" class="largeInput" name="noProv" id="noProv" style="width:30px" maxlength="3" onkeyup="CheckKey(event)" />
</td>
<td align="center">
<select name="proveedorId2" id="proveedorId2" class="largeInput">
<select name="proveedorId2" id="proveedorId2" class="largeInput" style="width:210px">
<option value="">Seleccione</option>
{if isset($proveedores) && count($proveedores) > 0}
{if isset($proveedores) && count($proveedores) > 0}
{foreach from=$proveedores item=item key=key}
<option value="{$item.proveedorId}" {if isset($info.proveedorId) && $info.proveedorId == $item.proveedorId}selected{/if}>{$item.nombre}</option>
{/foreach}
{else}
<option value="">No hay proveedores disponibles</option>
{/if}
{else}
<option value="">No hay proveedores disponibles</option>
{/if}
{foreach from=$proveedores item=item key=key}
<option value="{$item.proveedorId}" {if isset($info.proveedorId) && $info.proveedorId == $item.proveedorId}selected{/if}>{$item.nombre}</option>
{/foreach}
{else}
<option value="">No hay proveedores disponibles</option>
{/if}
</select>
</td>
<td align="center">
{if isset($categorias) && count($categorias) > 0}
{include file="{$DOC_ROOT}/templates/lists/enumProdCatSearch.tpl"}
{/if}
{include file="{$DOC_ROOT}/templates/lists/enumProdCatSearch.tpl"}
{/if}
</td>
<td align="center">
<input type="text" size="35" name="word" id="word" class="largeInput" onkeyup="CheckKey(event)" style="width:180px" />
<input type="text" size="35" name="word" id="word" class="largeInput" onkeyup="CheckKey(event)" style="width:170px" />
</td>
<td align="center">
<input type="text" size="35" name="codigoBarra" id="codigoBarra" class="largeInput" onkeyup="CheckKey(event)" style="width:100px" />
<input type="text" size="35" name="codigoBarra" id="codigoBarra" class="largeInput" onkeyup="CheckKey(event)" style="width:110px" />
</td>
<td></td>
</tr>
</tr>
<tr>
<td colspan="6" align="center">
<td colspan="5" align="center">
<input type="button" name="btnSearch" value="Buscar" class="btnSearch" onclick="Search()" />
</td>
</tr>
<tr>
<td colspan="6">
<td colspan="5">
<div align="center">
<div id="loadBusqueda" style="display:none">
<br />
<img src="http://www.facturase.com/images/loading.gif" width="16" height="16" />
<img src="images/loading.gif" width="16" height="16" />
<br />Cargando...
</div>
</div>

View File

@@ -1,4 +1,4 @@
<select name="idProdCat" id="idProdCat" class="largeInput wide2">
<select name="idProdCat" id="idProdCat" class="largeInput" style="width:210px">
<option value="">Todos</option>
{foreach from=$categorias item=item key=key}
<option value="{$item.prodCatId}" {if isset($info.prodCatId) && $info.prodCatId == $item.prodCatId}selected{/if}>{$item.nombre}</option>