corretto altre cose (workbox mancante)

This commit is contained in:
Surya Paolo
2025-05-15 21:41:25 +02:00
parent 685bc34bd0
commit daeb865e93
8 changed files with 141 additions and 410500 deletions

View File

@@ -107,6 +107,8 @@ export default defineComponent({
const allColumns = ref([]);
const isVisibleEditBtn = ref(false)
// Colonne della tabella
const allColumns_Raccolta = ref([
{ name: 'pos', label: 'Ind', field: 'pos', align: 'left', style: 'width: 50px', notsortable: true },
@@ -208,8 +210,10 @@ export default defineComponent({
if (props.table === 'products') {
allColumns.value = allColumns_Catalog.value;
isVisibleEditBtn.value = true
} else if (props.table === 'catalogs') {
allColumns.value = allColumns_Raccolta.value;
isVisibleEditBtn.value = false
}
optionscatalogo.value = {
@@ -783,6 +787,10 @@ export default defineComponent({
return image;
}
function isProduct() {
return props.table === 'products'
}
onMounted(mounted);
return {
@@ -825,6 +833,8 @@ export default defineComponent({
exportToCSV,
isSortable,
getImageByElement,
isVisibleEditBtn,
isProduct,
};
},
});