diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue index 19765b1f7..6e656dbe8 100644 --- a/src/components/common/VnLog.vue +++ b/src/components/common/VnLog.vue @@ -1,7 +1,7 @@ diff --git a/src/pages/Entry/MyEntries.vue b/src/pages/Entry/MyEntries.vue index e6974a04b..1c56427f4 100644 --- a/src/pages/Entry/MyEntries.vue +++ b/src/pages/Entry/MyEntries.vue @@ -86,7 +86,7 @@ const columns = computed(() => [ name: 'tableActions', actions: [ { - title: t('printBuys'), + title: t('printLabels'), icon: 'print', action: (row) => printBuys(row.id), }, diff --git a/src/pages/Entry/locale/en.yml b/src/pages/Entry/locale/en.yml index df78b17c9..f0965b097 100644 --- a/src/pages/Entry/locale/en.yml +++ b/src/pages/Entry/locale/en.yml @@ -10,4 +10,5 @@ landed: Landed shipped: Shipped fromShipped: Shipped(from) toShipped: Shipped(to) -printBuys: Print buys +printLabels: Print stickers +printLabel: Print sticker diff --git a/src/pages/Entry/locale/es.yml b/src/pages/Entry/locale/es.yml index 4308722fb..aba04571e 100644 --- a/src/pages/Entry/locale/es.yml +++ b/src/pages/Entry/locale/es.yml @@ -14,4 +14,5 @@ landed: F. llegada shipped: F. salida fromShipped: F. salida(desde) toShipped: F. salida(hasta) -Print buys: Imprimir etiquetas +printLabels: Imprimir etiquetas +printLabel: Imprimir etiqueta diff --git a/src/pages/Item/Card/ItemDescriptor.vue b/src/pages/Item/Card/ItemDescriptor.vue index f3eba8c82..ae5321b3c 100644 --- a/src/pages/Item/Card/ItemDescriptor.vue +++ b/src/pages/Item/Card/ItemDescriptor.vue @@ -48,7 +48,6 @@ const entityId = computed(() => { return $props.id || route.params.id; }); const regularizeStockFormDialog = ref(null); -const item = ref(null); const available = ref(null); const visible = ref(null); const _warehouseFk = ref(null); @@ -131,12 +130,7 @@ const openCloneDialog = async () => { :subtitle="data.subtitle" :summary="$props.summary" :url="`Items/${entityId}/getCard`" - @on-fetch=" - (data) => { - item = data; - setData(data); - } - " + @on-fetch="setData" >