Mini fix
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
William Buezas 2024-04-09 08:51:00 -03:00
parent e51ea9996b
commit 0144aab7a5
3 changed files with 9 additions and 7 deletions

View File

@ -1228,14 +1228,14 @@ export default {
description: 'Description', description: 'Description',
stems: 'Stems', stems: 'Stems',
category: 'Category', category: 'Category',
type: 'Type', typeName: 'Type',
intrastat: 'Intrastat', intrastat: 'Intrastat',
isActive: 'Active', isActive: 'Active',
size: 'Size', size: 'Size',
origin: 'Origin', origin: 'Origin',
userName: 'Buyer', userName: 'Buyer',
weightByPiece: 'Weight/Piece', weightByPiece: 'Weight/Piece',
multiplier: 'Multiplier', stemMultiplier: 'Multiplier',
producer: 'Producer', producer: 'Producer',
landed: 'Landed', landed: 'Landed',
}, },

View File

@ -1227,14 +1227,14 @@ export default {
description: 'Descripción', description: 'Descripción',
stems: 'Tallos', stems: 'Tallos',
category: 'Reino', category: 'Reino',
type: 'Tipo', typeName: 'Tipo',
intrastat: 'Intrastat', intrastat: 'Intrastat',
isActive: 'Activo', isActive: 'Activo',
size: 'Medida', size: 'Medida',
origin: 'Origen', origin: 'Origen',
weightByPiece: 'Peso (gramos)/tallo', weightByPiece: 'Peso (gramos)/tallo',
userName: 'Comprador', userName: 'Comprador',
multiplier: 'Multiplicador', stemMultiplier: 'Multiplicador',
producer: 'Productor', producer: 'Productor',
landed: 'F. entrega', landed: 'F. entrega',
}, },

View File

@ -311,7 +311,7 @@ const columns = computed(() => [
format: (val) => dashIfEmpty(val), format: (val) => dashIfEmpty(val),
}, },
{ {
label: t('item.list.multiplier'), label: t('item.list.stemMultiplier'),
field: 'stemMultiplier', field: 'stemMultiplier',
name: 'stemMultiplier', name: 'stemMultiplier',
align: 'left', align: 'left',
@ -383,13 +383,15 @@ const cloneItem = async (itemFk) => {
if (!data) return; if (!data) return;
router.push({ name: 'ItemTags', params: { id: data.id } }); router.push({ name: 'ItemTags', params: { id: data.id } });
} catch (err) { } catch (err) {
console.error('Error cloning row', err); console.error('Error cloning item', err);
} }
}; };
onMounted(async () => { onMounted(async () => {
stateStore.rightDrawer = true; stateStore.rightDrawer = true;
const filteredColumns = columns.value.filter((col) => col.name !== 'picture'); const filteredColumns = columns.value.filter(
(col) => col.name !== 'picture' && col.name !== 'actions'
);
allColumnNames.value = filteredColumns.map((col) => col.name); allColumnNames.value = filteredColumns.map((col) => col.name);
}); });