Add synchronous price calculation method: Introduce calcRegionalSellPriceSync for improved performance in price calculations when worthPercent is known. Refactor getAllProductPricesInRegion to utilize this new method, enhancing efficiency by reducing database calls. Update BranchView to manage product prices cache with regionId for better data handling.

This commit is contained in:
Torsten Schulz (local)
2026-01-29 15:06:38 +01:00
parent 474e46837a
commit 032e336b65
3 changed files with 30 additions and 52 deletions

View File

@@ -68,7 +68,6 @@ export default {
},
methods: {
toggleDropdown() {
console.log("toggleDropdown", 'clicked');
if (this.disabled) return;
this.isOpen = !this.isOpen;
},