Fix: Product, Product Category, Product Permutation, Supplier, Supplier Purchase Order, and Manufacturing Purchase Order architecture update for getting and saving data.

This commit is contained in:
2024-11-02 15:49:40 +00:00
parent 373ed9cebf
commit 4c2e05f4ae
87 changed files with 2891 additions and 1472 deletions

View File

@@ -143,7 +143,7 @@ export default class Router {
return module; // [pageJson.name];
}
catch (error) {
console.log("this.pages: ", this.pages);
if (_verbose) { console.log("this.pages: ", this.pages); };
console.error('Page not found:', hashPage);
throw error;
}
@@ -169,7 +169,6 @@ export default class Router {
// this.beforeLeave();
/*
if (this.routes[hash]) {
console.log("navigating to hash: " + hash);
this.routes[hash](isPopState);
} else {
console.error(`Hash ${hash} not found`);
@@ -323,7 +322,6 @@ export default class Router {
*/
static loadPageBodyFromResponse(response) {
console.log(response.data);
DOM.loadPageBody(response.data);
}
}