This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user