This commit is contained in:
2021-06-10 21:40:05 +00:00
parent 9bb7dc8198
commit a9d6cc5adb

View File

@@ -78,6 +78,14 @@ export default {
});
} else {
await vm.getDataFromApi(vm.$route.params.recordid); //let getdata handle loading
//navigate somewhere??
console.log("workorder init params:", this.$route.params);
if (this.$route.params.gotype != null) {
//find out which woitem and then find out which type to set and then set them as the active item somehow
const gotype = Number(this.$route.params.gotype);
const goid = Number(this.$route.params.goid);
console.log("GO ACTIVATED, GOING....");
}
}
} else {
window.$gz.form.setFormState({