This commit is contained in:
2021-06-10 23:51:18 +00:00
parent 5f64cd01f3
commit 572ab39fc7
12 changed files with 81 additions and 2 deletions

View File

@@ -93,7 +93,7 @@
>{{ $ay.t("Undelete")
}}<v-icon right large>$ayiTrashRestoreAlt</v-icon></v-btn
>
<div ref="topform"></div>
<v-col
v-if="form().showMe(this, 'Items.WorkOrderItemSummary')"
cols="12"
@@ -707,6 +707,14 @@ export default {
if (navto.woitemindex != null) {
this.selectedRow = [{ index: navto.woitemindex }];
this.activeItemIndex = navto.woitemindex;
this.$nextTick(() => {
const el = this.$refs.topform;
if (el) {
el.scrollIntoView({ behavior: "smooth" });
}
});
if (navto.childindex != null) {
this.$nextTick(() => {
switch (val.type) {