condition added replace
This commit is contained in:
parent
ab88fe413c
commit
ceee259160
@ -820,7 +820,10 @@ const app = new Vue({
|
||||
|
||||
if (newVal != '' && newVal.search('^(?=.*?[0-9])[0-9.,]+$') !== 0) {
|
||||
this.form.discount = oldVal;
|
||||
|
||||
if (Number(newVal) == null) {
|
||||
this.form.discount.replace(',', '.');
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user