- Ricerca Titolo per nome o autore o ISBN o codice articolo

This commit is contained in:
Surya Paolo
2025-03-31 23:55:53 +02:00
parent 7624f16723
commit 61c1dc3d0d
67 changed files with 760 additions and 1618 deletions

View File

@@ -4168,12 +4168,16 @@ export const fieldsTable = {
if (myrec) return ((myrec.colkey) ? myrec.colkey : '_id')
return '_id'
},
getLabelByTable(mytable: string): string {
const myrec = this.getrecTableList(mytable)
if (myrec) { // @ts-ignore
return ((myrec.collabel) ? myrec.collabel : 'label')
getLabelByTable(mytable: string, collabel?: any): string {
if (collabel) {
return collabel
} else {
const myrec = this.getrecTableList(mytable)
if (myrec) { // @ts-ignore
return ((myrec.collabel) ? myrec.collabel : 'label')
}
return 'label'
}
return 'label'
},
getValByTabAndId(table: string, field: string, idvalue: any) {
const globalStore = useGlobalStore()