catalogo, avanti, grafica
This commit is contained in:
@@ -238,6 +238,10 @@ export default defineComponent({
|
||||
return isOrdineChiuso()
|
||||
}
|
||||
|
||||
function checkifCartEnable() {
|
||||
return false
|
||||
}
|
||||
|
||||
function getQtyWarn() {
|
||||
if (myorder.quantity > 0) {
|
||||
return t('ecomm.di_cui_x_in_carrello', { qty: myorder.quantity })
|
||||
@@ -288,6 +292,10 @@ export default defineComponent({
|
||||
function mounted() {
|
||||
load()
|
||||
|
||||
if (props.complete && myproduct.value && myproduct.value.arrvariazioni) {
|
||||
indvariazSel.value = 0
|
||||
}
|
||||
|
||||
// Start the timer when the component is mounted
|
||||
startTimer();
|
||||
}
|
||||
@@ -426,7 +434,10 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function setvariazioneSelected(indvariaz: number) {
|
||||
indvariazSel.value = indvariaz
|
||||
if (indvariazSel.value === indvariaz)
|
||||
indvariazSel.value = -1
|
||||
else
|
||||
indvariazSel.value = indvariaz
|
||||
}
|
||||
|
||||
onMounted(mounted)
|
||||
@@ -481,6 +492,7 @@ export default defineComponent({
|
||||
apriSchedaPDF,
|
||||
setvariazioneSelected,
|
||||
indvariazSel,
|
||||
checkifCartEnable,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user