mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
22 lines
558 B
JavaScript
Vendored
22 lines
558 B
JavaScript
Vendored
export default {
|
|
methods: {
|
|
changeStep(direction) {
|
|
this.status.direction = direction;
|
|
|
|
if (direction === 'next') {
|
|
|
|
if (this.validate()) {
|
|
//this.step += 1;
|
|
this.status.email = this.parameters.email;
|
|
this.$emit('updateStatus', this.status);
|
|
}
|
|
return;
|
|
}
|
|
this.$emit('updateStatus', this.status);
|
|
this.$v.$reset();
|
|
},
|
|
},
|
|
beforeDestroy: function (event) {
|
|
},
|
|
|
|
} |