import products dinamically

This commit is contained in:
Surya Paolo
2024-02-06 20:13:06 +01:00
parent dbcd2aee63
commit 3c0f040d92
53 changed files with 1847 additions and 325 deletions

View File

@@ -66,7 +66,7 @@ export const shared_consts = {
},
{
label: 'Chili (kg)',
short: 'Kg',
short: 'kg',
value: 2,
},
{
@@ -344,6 +344,7 @@ export const shared_consts = {
CAT_NO_SPAZI: 5,
CAT_GOODS_TXT: 10,
PRODUCTS: 20,
PRODUCTS_V2: 22,
INVENTARIO: 30,
},
@@ -1806,6 +1807,8 @@ export const shared_consts = {
MyBachecas: 1,
},
MAX_QTA_PREORD: 5000,
getStatusStr(status: number) {
const trovatorec = this.OrderStatusStr.find((rec) => rec.value === status)
return (trovatorec) ? trovatorec.label : ''