This commit is contained in:
2021-06-10 21:55:43 +00:00
parent a9d6cc5adb
commit 48bc82c6aa
2 changed files with 32 additions and 10 deletions

View File

@@ -570,9 +570,23 @@ export default {
pvm: {
default: null,
type: Object
},
goto: {
default: null,
type: Object
}
},
watch: {
goto(val, oldVal) {
if (val != oldVal) {
console.log("WOITEM WATCH GOTO VALUE CHANGED", val);
// if (gotype != window.$gz.type.WorkOrder) {
// //not workorder? Then must be a descendant so let's gooooooooooo!
// this.goto = { type: gotype, id: goid };
// }
}
}
},
methods: {
newItem() {
let newIndex = this.value.items.length;