- Generazione PDF e per Stampa

This commit is contained in:
Surya Paolo
2025-05-12 16:33:58 +02:00
parent 6ed648f8b3
commit ef48d7e741
9 changed files with 142 additions and 79 deletions

View File

@@ -767,6 +767,11 @@ export default defineComponent({
globalStore.myselector.data = { _id: 0, comune: '' }
}
} else {
const rec = searchList.value.find((rec) => rec.table === table && rec.bool)
if (rec) {
tools.setCookieBool(tools.COOK_SEARCH + costanti.FILTER_SEP + table + costanti.FILTER_SEP + rec.key, rec.value)
}
}
@@ -2839,7 +2844,7 @@ export default defineComponent({
}
function getisDettagliByCatalog() {
const rec = searchList.value.find((myrec) => myrec.table === shared_consts.TABLES_CATALOG && myrec.key === 'dettagli')
const rec = searchList.value.find((myrec) => myrec.table === ('finto_' + myrec.key) && myrec.key === 'dettagli')
if (rec) {
return rec.value
}

View File

@@ -253,7 +253,7 @@
v-else-if="item.type === costanti.FieldType.boolean"
:label="item.label"
v-model="item.value"
@update:model-value="refresh"
@update:model-value="searchval(item.value, item.table)"
color="green"
/>
</div>
@@ -923,7 +923,7 @@
v-else-if="item.type === costanti.FieldType.boolean"
:label="item.label"
v-model="item.value"
@update:model-value="refresh"
@update:model-value="searchval(item.value, item.table)"
color="green"
/>
</span>