- sistemato "Pare che selezionando una condizione, non sempre viene aggiornato il record !"
- Aggiunto filtro "Escludi Editoriale"
This commit is contained in:
@@ -74,6 +74,7 @@ export default defineComponent({
|
||||
const argomentistr = ref('')
|
||||
const numprodtot = ref(0)
|
||||
const editorestr = ref('')
|
||||
const editore_escludi_str = ref('')
|
||||
|
||||
const products = useProducts()
|
||||
|
||||
@@ -141,6 +142,13 @@ export default defineComponent({
|
||||
editorestr.value += rectrovato?.name + ' '
|
||||
}
|
||||
}
|
||||
editore_escludi_str.value = ''
|
||||
if (myrec.value.editore_escludi) {
|
||||
for (const receditore of myrec.value.editore_escludi) {
|
||||
const rectrovato: IPublisher = products.publishers.find((editore: IPublisher) => editore._id === receditore)
|
||||
editores_escludi_tr.value += rectrovato?.name + ' '
|
||||
}
|
||||
}
|
||||
|
||||
statecolor.value = 'negative'
|
||||
|
||||
@@ -224,6 +232,7 @@ export default defineComponent({
|
||||
apriInfo,
|
||||
collanestr,
|
||||
editorestr,
|
||||
editorestr_escludi,
|
||||
pagina_collegata,
|
||||
esiste_descrintro,
|
||||
argomentistr,
|
||||
|
||||
@@ -92,6 +92,13 @@
|
||||
<q-icon name="fas fa-book-open" /> {{ $t('cataloglist.casaeditrice') }}:
|
||||
<span class="text-blue">{{ editorestr }}</span>
|
||||
</div>
|
||||
<div
|
||||
v-if="!tools.isUtente() && editore_escludi_str && dettagli"
|
||||
class="text-caption text-h7 text-grey q-pb-xs"
|
||||
>
|
||||
<q-icon name="fas fa-book-open" /> {{ $t('cataloglist.editore_escludi') }}:
|
||||
<span class="text-blue">{{ editorestr_escludi }}</span>
|
||||
</div>
|
||||
<div
|
||||
v-if="!tools.isUtente() && !esiste_descrintro && dettagli"
|
||||
class="text-caption text-h7 text-grey q-pb-xs"
|
||||
|
||||
Reference in New Issue
Block a user