fix purchase order input bug

This commit is contained in:
omair saleh
2021-12-19 19:40:41 +08:00
parent 46a95aee4d
commit 6e194a0479
2 changed files with 2 additions and 2 deletions
@@ -17,7 +17,7 @@
</div>
<div class="col text-center p-r-5 p-l-5">
<div v-if="!isEdit" class="font-heading all-caps fs-10">{{product.unit_price}}</div>
<input v-if="isEdit" type="text" class="form-control fs-10 b-rad-none text-center" placeholder="Unit Price" v-model.lazy="(Math.round((product.unit_price+ Number.EPSILON) * 100) / 100).toFixed(2)" v-money="productPrice" />
<input v-if="isEdit" type="text" class="form-control fs-10 b-rad-none text-center" placeholder="Unit Price" v-model.lazy="(Math.round((product.unit_price+ Number.EPSILON) * 1000) / 1000).toFixed(2)" v-money="productPrice" />
</div>
<div class="col-1 text-center p-r-5 p-l-5">
<div class="font-heading all-caps fs-10">{{currency}}</div>