|
|
@@ -297,14 +297,15 @@ var app = new Vue({ |
|
|
|
this.init() ; |
|
|
|
}, |
|
|
|
productQuantityMaxChange: function(event) { |
|
|
|
var quantityMax = event.currentTarget.value; |
|
|
|
axios.get("ajax-process-product-quantity-max",{params: { |
|
|
|
idDistribution: this.distribution.id, |
|
|
|
idProduct: event.currentTarget.getAttribute('data-id-product'), |
|
|
|
quantityMax: event.currentTarget.value |
|
|
|
quantityMax: (!quantityMax || quantityMax.length === 0) ? -1 : quantityMax |
|
|
|
}}) |
|
|
|
.then(function(response) { |
|
|
|
|
|
|
|
}) ; |
|
|
|
}); |
|
|
|
}, |
|
|
|
productActiveClick: function(event) { |
|
|
|
var idProduct = event.currentTarget.getAttribute('data-id-product') ; |