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

changeProductAdd: function(event) { changeProductAdd: function(event) {
var idProduct = event.currentTarget.value ; var idProduct = event.currentTarget.value ;
this.productAddId = idProduct ; 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() ; this.productAddQuantity = this.getStepProductAdd() ;
}, },
changeQuantityProductAdd: function(quantity) { changeQuantityProductAdd: function(quantity) {

Loading…
Cancel
Save