- preordinabili corretti + altro
This commit is contained in:
@@ -60,7 +60,7 @@ export default defineComponent({
|
||||
idStorehouse: '',
|
||||
idGasordine: '',
|
||||
storehouse: {},
|
||||
gasordine: {active: false},
|
||||
gasordine: { active: false },
|
||||
})
|
||||
|
||||
const storeSelected = ref('')
|
||||
@@ -138,9 +138,11 @@ export default defineComponent({
|
||||
try {
|
||||
const mygas = gasordine
|
||||
if (mygas)
|
||||
return mygas.name + ' (' + mygas.city + ') ' + t('gas.dataora_chiusura_ordini') + ': ' + tools.getstrDateShort(mygas.dataora_chiusura_ordini)
|
||||
/*return mygas.name + ' (' + mygas.city + ') ' + t('gas.dataora_chiusura_ordini') + ': ' + tools.getstrDateShort(mygas.dataora_chiusura_ordini)
|
||||
+ ' ' + t('gas.data_arrivo_merce') + ': ' + tools.getstrDateShort(mygas.data_arrivo_merce)
|
||||
+ ' ' + t('gas.dataora_ritiro') + ': ' + tools.getstrDateShort(mygas.dataora_ritiro)
|
||||
+ ' ' + t('gas.dataora_ritiro') + ': ' + tools.getstrDateShort(mygas.dataora_ritiro)*/
|
||||
|
||||
return mygas.name
|
||||
else
|
||||
return ''
|
||||
} catch (e) {
|
||||
@@ -157,13 +159,13 @@ export default defineComponent({
|
||||
|
||||
gasordineSelected.value = ''
|
||||
recgasordineSelected.value = null
|
||||
|
||||
|
||||
}
|
||||
|
||||
function updateproduct() {
|
||||
|
||||
myproduct.value = products.getProductById(props.id)
|
||||
|
||||
|
||||
// products.updateQuantityAvailable(myproduct.value._id)
|
||||
}
|
||||
|
||||
@@ -327,10 +329,6 @@ export default defineComponent({
|
||||
endload.value = true
|
||||
}
|
||||
|
||||
function getmycardcl() {
|
||||
return (props.complete) ? 'my-card-big' : 'my-card-prod'
|
||||
}
|
||||
|
||||
function getclimgproduct() {
|
||||
return 'myimgproduct centermydiv'
|
||||
}
|
||||
@@ -362,7 +360,6 @@ export default defineComponent({
|
||||
visuListBookable,
|
||||
addtoCart,
|
||||
iconWhishlist,
|
||||
getmycardcl,
|
||||
getclimgproduct,
|
||||
getnumstore,
|
||||
getSingleStorehouse,
|
||||
|
||||
Reference in New Issue
Block a user