Pārlūkot izejas kodu

[Administration] Distributions : correctif

feature/rotating_product
Guillaume Bourgeois pirms 4 mēnešiem
vecāks
revīzija
cc53f40fcc
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      backend/web/js/vuejs/distribution-index.js

+ 2
- 0
backend/web/js/vuejs/distribution-index.js Parādīt failu

@@ -352,6 +352,7 @@ if($(selector).length) {
var app = this;
var quantityMax = event.currentTarget.value;
var idProduct = event.currentTarget.getAttribute('data-id-product');
app.showLoading = true;
axios.get("ajax-process-product-quantity-max", {
params: {
idDistribution: this.distribution.id,
@@ -362,6 +363,7 @@ if($(selector).length) {
.then(function (response) {
Vue.set(app.products[app.getProductIndex(idProduct)], 'quantity_max', response.data.quantity_max);
Vue.set(app.products[app.getProductIndex(idProduct)], 'quantity_remaining', response.data.quantity_remaining);
app.showLoading = false;
});
},
productActiveClick: function (event) {

Notiek ielāde…
Atcelt
Saglabāt