refs #6897 fix latestbuys trad
This commit is contained in:
parent
2e8396d1d4
commit
b05528ae14
|
@ -413,34 +413,35 @@ entry:
|
||||||
landed: Landed
|
landed: Landed
|
||||||
warehouseOut: Warehouse Out
|
warehouseOut: Warehouse Out
|
||||||
latestBuys:
|
latestBuys:
|
||||||
picture: Picture
|
tableVisibleColumns:
|
||||||
itemFk: Item ID
|
picture: Picture
|
||||||
packing: Packing
|
itemFk: Item ID
|
||||||
grouping: Grouping
|
packing: Packing
|
||||||
quantity: Quantity
|
grouping: Grouping
|
||||||
size: Size
|
quantity: Quantity
|
||||||
tags: Tags
|
size: Size
|
||||||
type: Type
|
tags: Tags
|
||||||
intrastat: Intrastat
|
type: Type
|
||||||
origin: Origin
|
intrastat: Intrastat
|
||||||
weightByPiece: Weight/Piece
|
origin: Origin
|
||||||
isActive: Active
|
weightByPiece: Weight/Piece
|
||||||
family: Family
|
isActive: Active
|
||||||
entryFk: Entry
|
family: Family
|
||||||
buyingValue: Buying value
|
entryFk: Entry
|
||||||
freightValue: Freight value
|
buyingValue: Buying value
|
||||||
comissionValue: Commission value
|
freightValue: Freight value
|
||||||
description: Description
|
comissionValue: Commission value
|
||||||
packageValue: Package value
|
description: Description
|
||||||
isIgnored: Is ignored
|
packageValue: Package value
|
||||||
price2: Grouping
|
isIgnored: Is ignored
|
||||||
price3: Packing
|
price2: Grouping
|
||||||
minPrice: Min
|
price3: Packing
|
||||||
ektFk: Ekt
|
minPrice: Min
|
||||||
weight: Weight
|
ektFk: Ekt
|
||||||
packagingFk: Package
|
weight: Weight
|
||||||
packingOut: Package out
|
packagingFk: Package
|
||||||
landing: Landing
|
packingOut: Package out
|
||||||
|
landing: Landing
|
||||||
ticket:
|
ticket:
|
||||||
pageTitles:
|
pageTitles:
|
||||||
tickets: Tickets
|
tickets: Tickets
|
||||||
|
|
|
@ -412,34 +412,35 @@ entry:
|
||||||
landed: F. entrega
|
landed: F. entrega
|
||||||
warehouseOut: Alm. salida
|
warehouseOut: Alm. salida
|
||||||
latestBuys:
|
latestBuys:
|
||||||
picture: Foto
|
tableVisibleColumns:
|
||||||
itemFk: ID Artículo
|
picture: Foto
|
||||||
packing: Packing
|
itemFk: Id Artículo
|
||||||
grouping: Grouping
|
packing: packing
|
||||||
quantity: Cantidad
|
grouping: Grouping
|
||||||
size: Medida
|
quantity: Cantidad
|
||||||
tags: Etiquetas
|
size: Medida
|
||||||
type: Tipo
|
tags: Etiquetas
|
||||||
intrastat: Intrastat
|
type: Tipo
|
||||||
origin: Origen
|
intrastat: Intrastat
|
||||||
weightByPiece: Peso (gramos)/tallo
|
origin: Origen
|
||||||
isActive: Activo
|
weightByPiece: Peso (gramos)/tallo
|
||||||
family: Familia
|
isActive: Activo
|
||||||
entryFk: Entrada
|
family: Familia
|
||||||
buyingValue: Coste
|
entryFk: Entrada
|
||||||
freightValue: Porte
|
buyingValue: Coste
|
||||||
comissionValue: Comisión
|
freightValue: Porte
|
||||||
description: Descripción
|
comissionValue: Comisión
|
||||||
packageValue: Embalaje
|
description: Descripción
|
||||||
isIgnored: Ignorado
|
packageValue: Embalaje
|
||||||
price2: Grouping
|
isIgnored: Ignorado
|
||||||
price3: Packing
|
price2: Grouping
|
||||||
minPrice: Min
|
price3: Packing
|
||||||
ektFk: Ekt
|
minPrice: Min
|
||||||
weight: Peso
|
ektFk: Ekt
|
||||||
packagingFk: Embalaje
|
weight: Peso
|
||||||
packingOut: Embalaje envíos
|
packagingFk: Embalaje
|
||||||
landing: Llegada
|
packingOut: Embalaje envíos
|
||||||
|
landing: Llegada
|
||||||
ticket:
|
ticket:
|
||||||
pageTitles:
|
pageTitles:
|
||||||
tickets: Tickets
|
tickets: Tickets
|
||||||
|
|
|
@ -11,7 +11,7 @@ import { useArrayData } from 'composables/useArrayData';
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const stateStore = useStateStore();
|
const stateStore = useStateStore();
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
import { toDate } from 'src/filters';
|
||||||
const rowsFetchDataRef = ref(null);
|
const rowsFetchDataRef = ref(null);
|
||||||
const editTableCellDialogRef = ref(null);
|
const editTableCellDialogRef = ref(null);
|
||||||
const allColumnNames = ref([]);
|
const allColumnNames = ref([]);
|
||||||
|
@ -222,7 +222,12 @@ const columns = computed(() => [
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: t('entry.latestBuys.tableVisibleColumns.landing'),
|
label: t('entry.latestBuys.tableVisibleColumns.landing'),
|
||||||
name: 'landing'
|
name: 'landing',
|
||||||
|
component: 'date',
|
||||||
|
columnField: {
|
||||||
|
component: null,
|
||||||
|
},
|
||||||
|
format: (row, dashIfEmpty) => dashIfEmpty(toDate(row.landing))
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
@ -277,7 +282,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
url="Buys/latestBuysFilter"
|
url="Buys/latestBuysFilter"
|
||||||
order="id DESC"
|
order="id DESC"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
redirect="buy"
|
redirect="entry"
|
||||||
default-mode="table"
|
default-mode="table"
|
||||||
auto-load
|
auto-load
|
||||||
:right-search="false"
|
:right-search="false"
|
||||||
|
|
Loading…
Reference in New Issue