Browse Source

Correctif tableau décli

feature/export_comptable
Fab 4 years ago
parent
commit
e662da8e26
2 changed files with 4 additions and 3 deletions
  1. +2
    -1
      ShopBundle/Resources/public/js/backend/script/default/vuejs-mixins.js
  2. +2
    -2
      ShopBundle/Resources/public/js/backend/script/productfamily/vuejs-product-family.js

+ 2
- 1
ShopBundle/Resources/public/js/backend/script/default/vuejs-mixins.js View File

@@ -153,12 +153,13 @@ let mixinPrice = {
if (this.behaviorPriceValue == 'by-piece') {
this.setBuyingPriceByRefUnit();
this.setBuyingPriceByRefUnitWithTax();
log('ncihe');
this.setPriceByRefUnit();
this.setPriceByRefUnitWithTax();
} else if (this.behaviorPriceValue == 'by-reference-unit') {
this.setPriceFromPriceByRefUnit();
this.setPriceWithTax();
log('ncihe');
this.setBuyingPriceFromBuyingPriceByRefUnit();
this.setBuyingPriceWithTax();
}

+ 2
- 2
ShopBundle/Resources/public/js/backend/script/productfamily/vuejs-product-family.js View File

@@ -503,8 +503,8 @@ $(window).on('load', function () {

log(Object.keys(this.formProducts).length);
this.$nextTick(function () {
this.updateSortableProducts(false);
this.updateKeyboardNav();
this.updateSortableProducts(true);
});
},
updateKeyboardNav: function () {

Loading…
Cancel
Save