- aggiornato la versione STAMPA, che non funzionava
This commit is contained in:
@@ -266,6 +266,7 @@ export default defineComponent({
|
||||
() => props.modelValue.selectedVersionStampabile,
|
||||
async () => {
|
||||
if (loadpage.value) {
|
||||
|
||||
//nascondi.value = true;
|
||||
arrProducts.value = [];
|
||||
console.log('aggiorna... ');
|
||||
@@ -1606,6 +1607,8 @@ export default defineComponent({
|
||||
|
||||
let instampa = false;
|
||||
|
||||
instampa = globalStore.inStampa;
|
||||
|
||||
if (optcatalogo.value.idCatalogSel) {
|
||||
// controlla se è stato passato l'id dalla pagina:
|
||||
let idcatsel = '';
|
||||
@@ -1616,13 +1619,13 @@ export default defineComponent({
|
||||
idcatsel = optcatalogo.value.idCatalogSel;
|
||||
}
|
||||
|
||||
instampa = $route.query?.stampa === '1';
|
||||
|
||||
mycat = catalogStore.getCatalogById(idcatsel);
|
||||
} else {
|
||||
mycat = catalogStore.getCatalogByIdPageAssigned(props.idPage) || null;
|
||||
}
|
||||
|
||||
// console.log('instampa... ', instampa)
|
||||
|
||||
if (mycat && !mycat.lista_prodotti) {
|
||||
mycat = await catalogStore.fetchCatalogById(mycat._id);
|
||||
}
|
||||
@@ -2590,7 +2593,7 @@ export default defineComponent({
|
||||
title: 'Conferma',
|
||||
message: 'Vuoi pubblicare OnLine questo PDF?',
|
||||
ok: {
|
||||
label: 'S ',
|
||||
label: 'Sì',
|
||||
push: true,
|
||||
},
|
||||
cancel: {
|
||||
@@ -2636,7 +2639,7 @@ export default defineComponent({
|
||||
title: 'Conferma',
|
||||
message: 'Vuoi pubblicare OnLine questo PDF di STAMPA ?',
|
||||
ok: {
|
||||
label: 'S ',
|
||||
label: 'Sì',
|
||||
push: true,
|
||||
},
|
||||
cancel: {
|
||||
|
||||
Reference in New Issue
Block a user