diff --git a/ayanova/src/components/work-order-item-scheduled-users.vue b/ayanova/src/components/work-order-item-scheduled-users.vue index 474e8502..e943de71 100644 --- a/ayanova/src/components/work-order-item-scheduled-users.vue +++ b/ayanova/src/components/work-order-item-scheduled-users.vue @@ -132,6 +132,7 @@ export default { methods: { newItem() { + //bugbug? add woitem, then this and save not showing but then turns up later confirm!! this.pvm.selectedScheduledUserItemIndex = this.value.items[this.pvm.selectedItemIndex].scheduledUsers.push({ id: 0, diff --git a/ayanova/src/views/svc-workorder.vue b/ayanova/src/views/svc-workorder.vue index 3ecc6523..6212ae65 100644 --- a/ayanova/src/views/svc-workorder.vue +++ b/ayanova/src/views/svc-workorder.vue @@ -686,12 +686,12 @@ async function saveItems(vm) { } //upsert - console.log("saveItems processing this many items: ", totalItems); + // console.log("saveItems processing this many items: ", totalItems); for (let i = 0; i < totalItems; i++) { let o = vm.obj.items[i]; - console.log("checking for save item: ", { item: o, index: i }); + // console.log("checking for save item: ", { item: o, index: i }); if (o.isDirty) { - console.log("Is dirty, saving now for ", i); + // console.log("Is dirty, saving now for ", i); let res = await window.$gz.api.upsert(`${API_BASE_URL}items`, o); if (res.error) { displayResError(vm, res); @@ -704,7 +704,7 @@ async function saveItems(vm) { o.isDirty = false; } } else { - console.log("Item not dirty skipping save of ", i); + // console.log("Item not dirty skipping save of ", i); } //------ //save grandchildren @@ -712,7 +712,7 @@ async function saveItems(vm) { return false; } //------ - console.log("Bottom of items loop", { totalItems: totalItems, i: i }); + // console.log("Bottom of items loop", { totalItems: totalItems, i: i }); } return true; //made it through }