refactor: refs #6919 update translation keys in ItemTypeCard and ShelvingList components
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
533f8cfa93
commit
cc193ce160
|
@ -1,8 +1,6 @@
|
|||
<script setup>
|
||||
import VnCardBeta from 'components/common/VnCardBeta.vue';
|
||||
import ItemTypeDescriptor from 'src/pages/Item/ItemType/Card/ItemTypeDescriptor.vue';
|
||||
import ItemTypeFilter from 'src/pages/Item/ItemType/ItemTypeFilter.vue';
|
||||
import ItemTypeSearchbar from '../ItemTypeSearchbar.vue';
|
||||
import filter from './ItemTypeFilter.js';
|
||||
</script>
|
||||
|
||||
|
|
|
@ -33,15 +33,18 @@ const entityId = computed(() => {
|
|||
data-key="ItemType"
|
||||
>
|
||||
<template #body="{ entity }">
|
||||
<VnLv :label="$t('shared.code')" :value="entity.code" />
|
||||
<VnLv :label="$t('shared.name')" :value="entity.name" />
|
||||
<VnLv :label="$t('shared.worker')">
|
||||
<VnLv :label="$t('itemType.shared.code')" :value="entity.code" />
|
||||
<VnLv :label="$t('itemType.shared.name')" :value="entity.name" />
|
||||
<VnLv :label="$t('itemType.shared.worker')">
|
||||
<template #value>
|
||||
<span class="link">{{ entity.worker?.firstName }}</span>
|
||||
<WorkerDescriptorProxy :id="entity.worker?.id" />
|
||||
</template>
|
||||
</VnLv>
|
||||
<VnLv :label="$t('shared.category')" :value="entity.category?.name" />
|
||||
<VnLv
|
||||
:label="$t('itemType.shared.category')"
|
||||
:value="entity.category?.name"
|
||||
/>
|
||||
</template>
|
||||
</CardDescriptor>
|
||||
</template>
|
||||
|
|
|
@ -50,18 +50,18 @@ function navigate(id) {
|
|||
>
|
||||
<template #list-items>
|
||||
<VnLv
|
||||
:label="t('shelving.list.parking')"
|
||||
:title-label="t('shelving.list.parking')"
|
||||
:label="$t('shelving.list.parking')"
|
||||
:title-label="$t('shelving.list.parking')"
|
||||
:value="row.parking?.code"
|
||||
/>
|
||||
<VnLv
|
||||
:label="t('shelving.list.priority')"
|
||||
:label="$t('shelving.list.priority')"
|
||||
:value="row?.priority"
|
||||
/>
|
||||
</template>
|
||||
<template #actions>
|
||||
<QBtn
|
||||
:label="t('components.smartCard.openSummary')"
|
||||
:label="$t('components.smartCard.openSummary')"
|
||||
@click.stop="viewSummary(row.id, ShelvingSummary)"
|
||||
color="primary"
|
||||
/>
|
||||
|
@ -74,7 +74,7 @@ function navigate(id) {
|
|||
<RouterLink :to="{ name: 'ShelvingCreate' }">
|
||||
<QBtn fab icon="add" color="primary" shortcut="+" />
|
||||
<QTooltip>
|
||||
{{ t('shelving.list.newShelving') }}
|
||||
{{ $t('shelving.list.newShelving') }}
|
||||
</QTooltip>
|
||||
</RouterLink>
|
||||
</QPageSticky>
|
||||
|
|
Loading…
Reference in New Issue