fix floating errors

This commit is contained in:
Mohit Panjwani
2020-12-31 12:16:04 +05:30
parent 0f1d7627ea
commit b55f8e5391
11 changed files with 498 additions and 466 deletions

View File

@ -43,7 +43,7 @@
:options="itemUnits"
:searchable="true"
:show-labels="false"
:maxHeight="200"
:max-height="200"
label="name"
>
</sw-select>
@ -160,7 +160,7 @@ export default {
return this.formData.price / 100
},
set: function (newValue) {
this.formData.price = newValue * 100
this.formData.price = Math.round(newValue * 100)
},
},