Update reconciliations.js
This commit is contained in:
parent
6055764494
commit
838e9dd644
@ -48,26 +48,12 @@ const app = new Vue({
|
|||||||
if (this.form._method == 'PATCH') {
|
if (this.form._method == 'PATCH') {
|
||||||
this.onCalculate();
|
this.onCalculate();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.currencyConversion();
|
|
||||||
},
|
},
|
||||||
|
|
||||||
methods:{
|
methods:{
|
||||||
setDueMinDate(date) {
|
setDueMinDate(date) {
|
||||||
this.min_due_date = date;
|
this.min_due_date = date;
|
||||||
},
|
},
|
||||||
|
|
||||||
currencyConversion() {
|
|
||||||
setTimeout(() => {
|
|
||||||
if (document.querySelectorAll('.js-conversion-input')) {
|
|
||||||
let currency_input = document.querySelectorAll('.js-conversion-input');
|
|
||||||
|
|
||||||
for (let input of currency_input) {
|
|
||||||
input.setAttribute('size', input.value.length);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, 250)
|
|
||||||
},
|
|
||||||
|
|
||||||
onReconcilition() {
|
onReconcilition() {
|
||||||
let form = document.getElementById('form-create-reconciliation');
|
let form = document.getElementById('form-create-reconciliation');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user