- Modifiche a ProductInfo... Continua

This commit is contained in:
Surya Paolo
2025-08-29 23:34:37 +02:00
parent 5d8e38fea6
commit 4f4297ca21
77 changed files with 3830 additions and 1281 deletions

View File

@@ -81,8 +81,8 @@ export default defineComponent({
{
editOn: false,
label: 'Fatturati',
table: 'productinfos',
id: myproduct.value.productInfo._id, // ID dinamico, da sostituire con il valore reale
table: 'products',
id: myproduct.value._id, // ID dinamico, da sostituire con il valore reale
rec: myproduct.value.productInfo, // Oggetto dinamico, da sostituire con il valore reale
mykey: 'totFat',
debounce: '1000',
@@ -91,8 +91,8 @@ export default defineComponent({
{
editOn: false,
label: 'Fatturati ultimi 3 Mesi',
table: 'productinfos',
id: myproduct.value.productInfo._id,
table: 'products',
id: myproduct.value._id,
rec: myproduct.value.productInfo,
mykey: 'fatLast3M',
debounce: '1000',
@@ -101,8 +101,8 @@ export default defineComponent({
{
editOn: false,
label: 'Fatturati ultimi 6 Mesi',
table: 'productinfos',
id: myproduct.value.productInfo._id,
table: 'products',
id: myproduct.value._id,
rec: myproduct.value.productInfo,
mykey: 'fatLast6M',
debounce: '1000',
@@ -111,8 +111,8 @@ export default defineComponent({
{
editOn: false,
label: 'Fatturati ultimo Anno',
table: 'productinfos',
id: myproduct.value.productInfo._id,
table: 'products',
id: myproduct.value._id,
rec: myproduct.value.productInfo,
mykey: 'fatLast1Y',
debounce: '1000',
@@ -121,8 +121,8 @@ export default defineComponent({
{
editOn: false,
label: 'Fatturati ultimi 2 Anni',
table: 'productinfos',
id: myproduct.value.productInfo._id,
table: 'products',
id: myproduct.value._id,
rec: myproduct.value.productInfo,
mykey: 'fatLast2Y',
debounce: '1000',
@@ -131,8 +131,8 @@ export default defineComponent({
{
editOn: false,
label: 'Venduti',
table: 'productinfos',
id: myproduct.value.productInfo._id, // ID dinamico, da sostituire con il valore reale
table: 'products',
id: myproduct.value._id, // ID dinamico, da sostituire con il valore reale
rec: myproduct.value.productInfo, // Oggetto dinamico, da sostituire con il valore reale
mykey: 'totVen',
debounce: '1000',
@@ -141,8 +141,8 @@ export default defineComponent({
{
editOn: false,
label: 'Venduti Ultimi 3 Mesi',
table: 'productinfos',
id: myproduct.value.productInfo._id,
table: 'products',
id: myproduct.value._id,
rec: myproduct.value.productInfo,
mykey: 'vLast3M',
debounce: '1000',
@@ -151,8 +151,8 @@ export default defineComponent({
{
editOn: false,
label: 'Venduti Ultimi 6 Mesi',
table: 'productinfos',
id: myproduct.value.productInfo._id,
table: 'products',
id: myproduct.value._id,
rec: myproduct.value.productInfo,
mykey: 'vLast6M',
debounce: '1000',
@@ -161,8 +161,8 @@ export default defineComponent({
{
editOn: false,
label: 'Venduti Ultimo Anno',
table: 'productinfos',
id: myproduct.value.productInfo._id,
table: 'products',
id: myproduct.value._id,
rec: myproduct.value.productInfo,
mykey: 'vLast1Y',
debounce: '1000',
@@ -171,8 +171,8 @@ export default defineComponent({
{
editOn: false,
label: 'Venduti Ultimi 2 Anni',
table: 'productinfos',
id: myproduct.value.productInfo._id,
table: 'products',
id: myproduct.value._id,
rec: myproduct.value.productInfo,
mykey: 'vLast2Y',
debounce: '1000',
@@ -183,33 +183,14 @@ export default defineComponent({
/*{
editOn: false,
label: "Ranking 3 Mesi",
table: "productinfos",
id: myproduct.value.productInfo._id,
table: "products",
id: myproduct.value._id,
rec: myproduct.value.productInfo,
mykey: "rank3M",
debounce: "1000",
type: costanti.FieldType.number,
},
{
editOn: false,
label: "Ranking 6 Mesi",
table: "productinfos",
id: myproduct.value.productInfo._id,
rec: myproduct.value.productInfo,
mykey: "rank6M",
debounce: "1000",
type: costanti.FieldType.number,
},
{
editOn: false,
label: "Ranking 1 Anno",
table: "productinfos",
id: myproduct.value.productInfo._id,
rec: myproduct.value.productInfo,
mykey: "rank1Y",
debounce: "1000",
type: costanti.FieldType.number,
},*/
*/
];
return arrlist;
}
@@ -220,8 +201,8 @@ export default defineComponent({
editOn: true,
label: 'Descrizione Sinossi per Catalogo',
title: myproduct.value?.productInfo?.name,
table: 'productinfos',
id: myproduct.value.productInfo._id, // ID dinamico, da sostituire con il valore reale
table: 'products',
id: myproduct.value._id, // ID dinamico, da sostituire con il valore reale
rec: myproduct.value.productInfo, // Oggetto dinamico, da sostituire con il valore reale
mykey: 'descr_trafiletto_catalogo',
debounce: '1000',
@@ -233,8 +214,8 @@ export default defineComponent({
editOn: true,
label: 'Descrizione breve macro',
title: myproduct.value?.productInfo?.name,
table: 'productinfos',
id: myproduct.value.productInfo._id, // ID dinamico, da sostituire con il valore reale
table: 'products',
id: myproduct.value._id, // ID dinamico, da sostituire con il valore reale
rec: myproduct.value.productInfo, // Oggetto dinamico, da sostituire con il valore reale
mykey: 'descrizione_breve_macro',
maxlength: 650,
@@ -246,8 +227,8 @@ export default defineComponent({
{
editOn: true,
label: 'Descrizione Estesa',
table: 'productinfos',
id: myproduct.value.productInfo._id, // ID dinamico, da sostituire con il valore reale
table: 'products',
id: myproduct.value._id, // ID dinamico, da sostituire con il valore reale
rec: myproduct.value.productInfo, // Oggetto dinamico, da sostituire con il valore reale
mykey: 'descrizione_completa_macro',
maxlength: props.scheda?.testo_bottom?.maxlength
@@ -261,8 +242,8 @@ export default defineComponent({
{
editOn: true,
label: 'Link a gruppomacro.com',
table: 'productinfos',
id: myproduct.value.productInfo._id, // ID dinamico, da sostituire con il valore reale
table: 'products',
id: myproduct.value._id, // ID dinamico, da sostituire con il valore reale
rec: myproduct.value.productInfo, // Oggetto dinamico, da sostituire con il valore reale
mykey: 'link_macro',
debounce: '1000',
@@ -273,8 +254,8 @@ export default defineComponent({
{
editOn: true,
label: 'Imagefile',
table: 'productinfos',
id: myproduct.value.productInfo._id, // ID dinamico, da sostituire con il valore reale
table: 'products',
id: myproduct.value._id, // ID dinamico, da sostituire con il valore reale
rec: myproduct.value.productInfo, // Oggetto dinamico, da sostituire con il valore reale
mykey: 'imagefile',
debounce: '1000',
@@ -292,8 +273,8 @@ export default defineComponent({
{
editOn: true,
label: 'Titolo',
table: 'productinfos',
id: myproduct.value.productInfo._id,
table: 'products',
id: myproduct.value._id,
rec: myproduct.value.productInfo, // Oggetto dinamico, da sostituire con il valore reale
mykey: 'name',
debounce: '1000',
@@ -314,8 +295,8 @@ export default defineComponent({
{
editOn: true,
label: 'SottoTitolo',
table: 'productinfos',
id: myproduct.value.productInfo._id,
table: 'products',
id: myproduct.value._id,
rec: myproduct.value.productInfo,
mykey: 'sottotitolo',
debounce: '1000',
@@ -325,8 +306,8 @@ export default defineComponent({
{
editOn: false,
label: 'Pubblicazione',
table: 'productinfos',
id: myproduct.value.productInfo._id,
table: 'products',
id: myproduct.value._id,
rec: myproduct.value.productInfo,
mykey: 'date_pub',
debounce: '1000',
@@ -347,8 +328,8 @@ export default defineComponent({
{
editOn: false,
label: 'Stato',
table: 'productinfos',
id: myproduct.value.productInfo._id,
table: 'products',
id: myproduct.value._id,
rec: myproduct.value.productInfo,
mykey: 'idStatoProdotto',
debounce: '1000',
@@ -359,7 +340,7 @@ export default defineComponent({
{
editOn: true,
label: 'Argomento',
table: 'productinfos',
table: 'products',
id: myproduct.value.productInfo?._id,
rec: myproduct.value.productInfo,
mykey: 'idCatProds',
@@ -465,8 +446,8 @@ export default defineComponent({
{
editOn: false,
label: 'Aggiornato (da GM) il',
table: 'productinfos',
id: myproduct.value.productInfo._id,
table: 'products',
id: myproduct.value._id,
rec: myproduct.value.productInfo,
mykey: 'date_updated_fromGM',
debounce: '1000',