Browse Source

[Backend] Document > Ajout produit : correctif prix HT

refactoring
Guillaume 2 years ago
parent
commit
63e6c43354
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      backend/web/js/vuejs/document-form.js

+ 2
- 1
backend/web/js/vuejs/document-form.js View File

@@ -141,7 +141,8 @@ var app = new Vue({
changeProductAdd: function(event) {
var idProduct = event.currentTarget.value ;
this.productAddId = idProduct ;
this.productAddPrice = parseFloat(this.productsArray[idProduct].price).toFixed(2) ;
//this.productAddPrice = parseFloat(this.productsArray[idProduct].price).toFixed(2) ;
this.productAddPrice = parseFloat(this.productsArray[idProduct].price);
this.productAddQuantity = this.getStepProductAdd() ;
},
changeQuantityProductAdd: function(quantity) {

Loading…
Cancel
Save