- Uscita PRIMA VERSIONE PiuCheBuono.app
This commit is contained in:
@@ -142,7 +142,7 @@ export default defineComponent({
|
||||
+ ' ' + t('gas.data_arrivo_merce') + ': ' + tools.getstrDateShort(mygas.data_arrivo_merce)
|
||||
+ ' ' + t('gas.dataora_ritiro') + ': ' + tools.getstrDateShort(mygas.dataora_ritiro)*/
|
||||
|
||||
return mygas.name
|
||||
return mygas.name
|
||||
else
|
||||
return ''
|
||||
} catch (e) {
|
||||
@@ -352,6 +352,17 @@ export default defineComponent({
|
||||
}, 0))
|
||||
}
|
||||
|
||||
function isOrdGas(): boolean {
|
||||
return myproduct.value && myproduct.value.idGasordines ? myproduct.value.idGasordines.length > 0 : false
|
||||
}
|
||||
|
||||
function getpercqtaraggiunta(): number {
|
||||
if (myproduct.value)
|
||||
return tools.calcperc(myproduct.value.bookedGASQtyOrdered, myproduct.value.qtyToReachForGas) / 100
|
||||
else
|
||||
return 0
|
||||
}
|
||||
|
||||
onMounted(mounted)
|
||||
onBeforeUnmount(beforeDestroy)
|
||||
|
||||
@@ -389,6 +400,8 @@ export default defineComponent({
|
||||
timerLabelScadenza,
|
||||
labelDataRitiro,
|
||||
labelDataArrivoMerce,
|
||||
getpercqtaraggiunta,
|
||||
isOrdGas,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user