forked from verdnatura/salix-front
refactor: deleted useless prop in FetchedTags
This commit is contained in:
parent
beaa9ab5c8
commit
19ae1f9d80
|
@ -423,7 +423,7 @@ const lockIconType = (groupingMode, mode) => {
|
||||||
<span v-if="props.row.item.subName" class="subName">
|
<span v-if="props.row.item.subName" class="subName">
|
||||||
{{ props.row.item.subName }}
|
{{ props.row.item.subName }}
|
||||||
</span>
|
</span>
|
||||||
<FetchedTags :item="props.row.item" :max-length="5" />
|
<FetchedTags :item="props.row.item" />
|
||||||
</QTd>
|
</QTd>
|
||||||
</QTr>
|
</QTr>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -319,7 +319,7 @@ const fetchEntryBuys = async () => {
|
||||||
<span v-if="row.item.subName" class="subName">
|
<span v-if="row.item.subName" class="subName">
|
||||||
{{ row.item.subName }}
|
{{ row.item.subName }}
|
||||||
</span>
|
</span>
|
||||||
<FetchedTags :item="row.item" :max-length="5" />
|
<FetchedTags :item="row.item" />
|
||||||
</QTd>
|
</QTd>
|
||||||
</QTr>
|
</QTr>
|
||||||
<!-- Esta última row es utilizada para agregar un espaciado y así marcar una diferencia visual entre los diferentes buys -->
|
<!-- Esta última row es utilizada para agregar un espaciado y así marcar una diferencia visual entre los diferentes buys -->
|
||||||
|
|
|
@ -436,7 +436,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
{{ row.name }}
|
{{ row.name }}
|
||||||
</span>
|
</span>
|
||||||
<ItemDescriptorProxy :id="row.itemFk" />
|
<ItemDescriptorProxy :id="row.itemFk" />
|
||||||
<FetchedTags :item="row" :max-length="6" />
|
<FetchedTags :item="row" />
|
||||||
</QTd>
|
</QTd>
|
||||||
</template>
|
</template>
|
||||||
<template #body-cell-groupingPrice="props">
|
<template #body-cell-groupingPrice="props">
|
||||||
|
|
|
@ -517,7 +517,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
<template #body-cell-description="{ row }">
|
<template #body-cell-description="{ row }">
|
||||||
<QTd class="col">
|
<QTd class="col">
|
||||||
<span>{{ row.name }} {{ row.subName }}</span>
|
<span>{{ row.name }} {{ row.subName }}</span>
|
||||||
<FetchedTags :item="row" :max-length="6" />
|
<FetchedTags :item="row" />
|
||||||
</QTd>
|
</QTd>
|
||||||
</template>
|
</template>
|
||||||
<template #body-cell-isActive="{ row }">
|
<template #body-cell-isActive="{ row }">
|
||||||
|
|
|
@ -294,7 +294,7 @@ watch(
|
||||||
{{ row?.item?.subName.toUpperCase() }}
|
{{ row?.item?.subName.toUpperCase() }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<FetchedTags :item="row?.item" :max-length="6" />
|
<FetchedTags :item="row?.item" />
|
||||||
</template>
|
</template>
|
||||||
<template #column-amount="{ row }">
|
<template #column-amount="{ row }">
|
||||||
{{ toCurrency(row.quantity * row.price) }}
|
{{ toCurrency(row.quantity * row.price) }}
|
||||||
|
|
|
@ -192,7 +192,7 @@ const detailsColumns = ref([
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<FetchedTags :item="props.row.item" :max-length="5" />
|
<FetchedTags :item="props.row.item" />
|
||||||
</QTd>
|
</QTd>
|
||||||
<QTd key="quantity" :props="props">
|
<QTd key="quantity" :props="props">
|
||||||
{{ props.row.quantity }}
|
{{ props.row.quantity }}
|
||||||
|
|
|
@ -103,7 +103,7 @@ onMounted(async () => (stateStore.rightDrawer = false));
|
||||||
{{ row?.item?.subName.toUpperCase() }}
|
{{ row?.item?.subName.toUpperCase() }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<FetchedTags :item="row?.item" :max-length="6" />
|
<FetchedTags :item="row?.item" />
|
||||||
</template>
|
</template>
|
||||||
<template #column-volume="{ rowIndex }">
|
<template #column-volume="{ rowIndex }">
|
||||||
{{ volumes?.[rowIndex]?.volume }}
|
{{ volumes?.[rowIndex]?.volume }}
|
||||||
|
|
|
@ -208,7 +208,7 @@ onMounted(async () => {
|
||||||
|
|
||||||
<QTd no-hover>
|
<QTd no-hover>
|
||||||
<span>{{ buy.subName }}</span>
|
<span>{{ buy.subName }}</span>
|
||||||
<FetchedTags :item="buy" :max-length="5" />
|
<FetchedTags :item="buy" />
|
||||||
</QTd>
|
</QTd>
|
||||||
<QTd no-hover> {{ dashIfEmpty(buy.quantity) }}</QTd>
|
<QTd no-hover> {{ dashIfEmpty(buy.quantity) }}</QTd>
|
||||||
<QTd no-hover> {{ dashIfEmpty(buy.price) }}</QTd>
|
<QTd no-hover> {{ dashIfEmpty(buy.price) }}</QTd>
|
||||||
|
|
|
@ -245,7 +245,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<span>{{ row.item.name }}</span>
|
<span>{{ row.item.name }}</span>
|
||||||
<span class="color-vn-label">{{ row.item.subName }}</span>
|
<span class="color-vn-label">{{ row.item.subName }}</span>
|
||||||
<FetchedTags :item="row.item" :max-length="6" />
|
<FetchedTags :item="row.item" />
|
||||||
</div>
|
</div>
|
||||||
</QTd>
|
</QTd>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -310,7 +310,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<span>{{ row.item.name }}</span>
|
<span>{{ row.item.name }}</span>
|
||||||
<span class="color-vn-label">{{ row.item.subName }}</span>
|
<span class="color-vn-label">{{ row.item.subName }}</span>
|
||||||
<FetchedTags :item="row.item" :max-length="6" />
|
<FetchedTags :item="row.item" />
|
||||||
</div>
|
</div>
|
||||||
</QTd>
|
</QTd>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -656,7 +656,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<span>{{ row.concept }}</span>
|
<span>{{ row.concept }}</span>
|
||||||
<span class="color-vn-label">{{ row.item?.subName }}</span>
|
<span class="color-vn-label">{{ row.item?.subName }}</span>
|
||||||
<FetchedTags v-if="row.item" :item="row.item" :max-length="6" />
|
<FetchedTags v-if="row.item" :item="row.item" />
|
||||||
<QPopupProxy v-if="row.id && isTicketEditable">
|
<QPopupProxy v-if="row.id && isTicketEditable">
|
||||||
<VnInput v-model="row.concept" @change="updateConcept(row)" />
|
<VnInput v-model="row.concept" @change="updateConcept(row)" />
|
||||||
</QPopupProxy>
|
</QPopupProxy>
|
||||||
|
|
|
@ -412,7 +412,7 @@ const qCheckBoxController = (sale, action) => {
|
||||||
<span v-if="row.subName" class="color-vn-label">
|
<span v-if="row.subName" class="color-vn-label">
|
||||||
{{ row.subName }}
|
{{ row.subName }}
|
||||||
</span>
|
</span>
|
||||||
<FetchedTags :item="row" :max-length="6" tag="value" />
|
<FetchedTags :item="row" tag="value" />
|
||||||
</div>
|
</div>
|
||||||
</QTd>
|
</QTd>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -399,7 +399,6 @@ async function changeState(value) {
|
||||||
<FetchedTags
|
<FetchedTags
|
||||||
class="fetched-tags"
|
class="fetched-tags"
|
||||||
:item="props.row.item"
|
:item="props.row.item"
|
||||||
:max-length="5"
|
|
||||||
></FetchedTags>
|
></FetchedTags>
|
||||||
</QTd>
|
</QTd>
|
||||||
<QTd>{{ props.row.price }} €</QTd>
|
<QTd>{{ props.row.price }} €</QTd>
|
||||||
|
|
|
@ -145,7 +145,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<span>{{ row.item.name }}</span>
|
<span>{{ row.item.name }}</span>
|
||||||
<span class="color-vn-label">{{ row.item.subName }}</span>
|
<span class="color-vn-label">{{ row.item.subName }}</span>
|
||||||
<FetchedTags :item="row.item" :max-length="6" />
|
<FetchedTags :item="row.item" />
|
||||||
</div>
|
</div>
|
||||||
</QTd>
|
</QTd>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue