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:
@@ -68,7 +68,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
toggleDropdown() {
|
||||
console.log("toggleDropdown", 'clicked');
|
||||
if (this.disabled) return;
|
||||
this.isOpen = !this.isOpen;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user