this.statusText = this.$refs.statusConfig ?.dataset.incomplete
this.discount = this.$refs.discount ?.dataset.value
this.validateAction = this.$refs.forgotpwd ?.dataset.status //specific code for the forgot password confirmation
+
+ console.log(this.getUser())
},
watch: {
options.push(e.selectedOptions[0])
let r = e.selectedOptions[0].dataset.ref;
placeholder += r ? r : '-'
- placeholder += selectOptions[nextIndex] ? '/' : ''
+ placeholder += selectOptions[nextIndex] ? '|' : ''
})
let prices = options.map(opt => parseFloat(opt.dataset.price)).filter(n => !isNaN(n)),
- refs = options.map(opt => opt.dataset.ref).filter(n => n !== undefined).join("/")
+ refs = options.map(opt => opt.dataset.ref).filter(n => n !== undefined).join("|")
if(prices.length === selectOptions.length) {
this.statusConfig = true
let total = prices.reduce((init, current) => init + current)
- this.ref = this.$refs.refProduct.dataset.ref+'/'+placeholder
+ this.ref = this.$refs.refProduct.dataset.ref+'|'+placeholder
this.price = total + parseFloat(this.$refs.optprice.dataset.default)
this.price = parseFloat(this.price).toFixed(2)
},