Setting currency set default currency disabled rate field..

This commit is contained in:
Cüneyt Şentürk
2022-09-05 09:45:42 +03:00
parent 4d5781cbc5
commit ba762c001e
3 changed files with 10 additions and 2 deletions

View File

@ -54,5 +54,13 @@ const app = new Vue({
.catch(error => {
});
}
},
watch: {
'form.default_currency': function (newVal, oldVal) {
if (newVal == 1) {
this.form.rate = 1;
}
},
}
});