Catalogo, versione di libro/ebook, ecc... quantità

This commit is contained in:
Surya Paolo
2024-05-05 13:55:49 +02:00
parent 399599d450
commit 17deeb7028
7 changed files with 200 additions and 95 deletions

View File

@@ -11,7 +11,7 @@ import { CMyValueDb } from '../CMyValueDb'
import { func_tools, toolsext } from '@store/Modules/toolsext'
import { IBaseOrder, IGasordine, IOrder, IOrderCart, IProduct } from '@src/model'
import { IBaseOrder, IGasordine, IOrder, IOrderCart, IProduct, IVariazione } from '@src/model'
import { tools } from '@store/Modules/tools'
import { useProducts } from '@store/Products'
@@ -61,6 +61,8 @@ export default defineComponent({
const sumval = ref(0)
const editOn = ref(false)
const indvariazSel = ref(-1)
const site = ref(globalStore.site)
const $router = useRouter()
@@ -423,6 +425,10 @@ export default defineComponent({
$router.push(path)
}
function setvariazioneSelected(indvariaz: number) {
indvariazSel.value = indvariaz
}
onMounted(mounted)
onBeforeUnmount(beforeDestroy)
@@ -473,6 +479,8 @@ export default defineComponent({
isOrdineChiuso,
ricarica,
apriSchedaPDF,
setvariazioneSelected,
indvariazSel,
}
}
})