This commit is contained in:
@@ -448,6 +448,10 @@ export default {
|
|||||||
activeWoItemIndex: {
|
activeWoItemIndex: {
|
||||||
default: null,
|
default: null,
|
||||||
type: Number
|
type: Number
|
||||||
|
},
|
||||||
|
gotoIndex: {
|
||||||
|
default: null,
|
||||||
|
type: Number
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -455,6 +459,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.setDefaultView();
|
this.setDefaultView();
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
gotoIndex(val, oldVal) {
|
||||||
|
if (val != oldVal) {
|
||||||
|
this.selectedRow = [{ index: val }];
|
||||||
|
this.activeItemIndex = val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -443,6 +443,10 @@ export default {
|
|||||||
activeWoItemIndex: {
|
activeWoItemIndex: {
|
||||||
default: null,
|
default: null,
|
||||||
type: Number
|
type: Number
|
||||||
|
},
|
||||||
|
gotoIndex: {
|
||||||
|
default: null,
|
||||||
|
type: Number
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -450,6 +454,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.setDefaultView();
|
this.setDefaultView();
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
gotoIndex(val, oldVal) {
|
||||||
|
if (val != oldVal) {
|
||||||
|
this.selectedRow = [{ index: val }];
|
||||||
|
this.activeItemIndex = val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -472,6 +472,10 @@ export default {
|
|||||||
activeWoItemIndex: {
|
activeWoItemIndex: {
|
||||||
default: null,
|
default: null,
|
||||||
type: Number
|
type: Number
|
||||||
|
},
|
||||||
|
gotoIndex: {
|
||||||
|
default: null,
|
||||||
|
type: Number
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -479,6 +483,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.setDefaultView();
|
this.setDefaultView();
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
gotoIndex(val, oldVal) {
|
||||||
|
if (val != oldVal) {
|
||||||
|
this.selectedRow = [{ index: val }];
|
||||||
|
this.activeItemIndex = val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -138,6 +138,10 @@ export default {
|
|||||||
activeWoItemIndex: {
|
activeWoItemIndex: {
|
||||||
default: null,
|
default: null,
|
||||||
type: Number
|
type: Number
|
||||||
|
},
|
||||||
|
gotoIndex: {
|
||||||
|
default: null,
|
||||||
|
type: Number
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -145,6 +149,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.setDefaultView();
|
this.setDefaultView();
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
gotoIndex(val, oldVal) {
|
||||||
|
if (val != oldVal) {
|
||||||
|
this.selectedRow = [{ index: val }];
|
||||||
|
this.activeItemIndex = val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -368,6 +368,10 @@ export default {
|
|||||||
activeWoItemIndex: {
|
activeWoItemIndex: {
|
||||||
default: null,
|
default: null,
|
||||||
type: Number
|
type: Number
|
||||||
|
},
|
||||||
|
gotoIndex: {
|
||||||
|
default: null,
|
||||||
|
type: Number
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -375,6 +379,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.setDefaultView();
|
this.setDefaultView();
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
gotoIndex(val, oldVal) {
|
||||||
|
if (val != oldVal) {
|
||||||
|
this.selectedRow = [{ index: val }];
|
||||||
|
this.activeItemIndex = val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -313,6 +313,10 @@ export default {
|
|||||||
activeWoItemIndex: {
|
activeWoItemIndex: {
|
||||||
default: null,
|
default: null,
|
||||||
type: Number
|
type: Number
|
||||||
|
},
|
||||||
|
gotoIndex: {
|
||||||
|
default: null,
|
||||||
|
type: Number
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -320,6 +324,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.setDefaultView();
|
this.setDefaultView();
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
gotoIndex(val, oldVal) {
|
||||||
|
if (val != oldVal) {
|
||||||
|
this.selectedRow = [{ index: val }];
|
||||||
|
this.activeItemIndex = val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -341,6 +341,10 @@ export default {
|
|||||||
activeWoItemIndex: {
|
activeWoItemIndex: {
|
||||||
default: null,
|
default: null,
|
||||||
type: Number
|
type: Number
|
||||||
|
},
|
||||||
|
gotoIndex: {
|
||||||
|
default: null,
|
||||||
|
type: Number
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -348,6 +352,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.setDefaultView();
|
this.setDefaultView();
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
gotoIndex(val, oldVal) {
|
||||||
|
if (val != oldVal) {
|
||||||
|
this.selectedRow = [{ index: val }];
|
||||||
|
this.activeItemIndex = val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -443,6 +443,10 @@ export default {
|
|||||||
activeWoItemIndex: {
|
activeWoItemIndex: {
|
||||||
default: null,
|
default: null,
|
||||||
type: Number
|
type: Number
|
||||||
|
},
|
||||||
|
gotoIndex: {
|
||||||
|
default: null,
|
||||||
|
type: Number
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -450,6 +454,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.setDefaultView();
|
this.setDefaultView();
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
gotoIndex(val, oldVal) {
|
||||||
|
if (val != oldVal) {
|
||||||
|
this.selectedRow = [{ index: val }];
|
||||||
|
this.activeItemIndex = val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -292,6 +292,10 @@ export default {
|
|||||||
activeWoItemIndex: {
|
activeWoItemIndex: {
|
||||||
default: null,
|
default: null,
|
||||||
type: Number
|
type: Number
|
||||||
|
},
|
||||||
|
gotoIndex: {
|
||||||
|
default: null,
|
||||||
|
type: Number
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -299,6 +303,12 @@ export default {
|
|||||||
if (val != oldVal) {
|
if (val != oldVal) {
|
||||||
this.setDefaultView();
|
this.setDefaultView();
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
gotoIndex(val, oldVal) {
|
||||||
|
if (val != oldVal) {
|
||||||
|
this.selectedRow = [{ index: val }];
|
||||||
|
this.activeItemIndex = val;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -365,7 +365,7 @@
|
|||||||
<v-col
|
<v-col
|
||||||
cols="12"
|
cols="12"
|
||||||
v-if="
|
v-if="
|
||||||
pvm.subRights.scheduledUsers.visible &&
|
pvm.subRights.units.visible &&
|
||||||
form().showMe(this, 'WorkOrderItemUnitList')
|
form().showMe(this, 'WorkOrderItemUnitList')
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
@@ -373,6 +373,7 @@
|
|||||||
v-model="value"
|
v-model="value"
|
||||||
:pvm="pvm"
|
:pvm="pvm"
|
||||||
:active-wo-item-index="activeItemIndex"
|
:active-wo-item-index="activeItemIndex"
|
||||||
|
:goto-index="gotoUnitIndex"
|
||||||
data-cy="woItemUnits"
|
data-cy="woItemUnits"
|
||||||
@change="$emit('change')"
|
@change="$emit('change')"
|
||||||
/>
|
/>
|
||||||
@@ -389,6 +390,7 @@
|
|||||||
v-model="value"
|
v-model="value"
|
||||||
:pvm="pvm"
|
:pvm="pvm"
|
||||||
:active-wo-item-index="activeItemIndex"
|
:active-wo-item-index="activeItemIndex"
|
||||||
|
:goto-index="gotoScheduledUserIndex"
|
||||||
data-cy="woItemScheduledUsers"
|
data-cy="woItemScheduledUsers"
|
||||||
@change="$emit('change')"
|
@change="$emit('change')"
|
||||||
/>
|
/>
|
||||||
@@ -404,6 +406,7 @@
|
|||||||
v-model="value"
|
v-model="value"
|
||||||
:pvm="pvm"
|
:pvm="pvm"
|
||||||
:active-wo-item-index="activeItemIndex"
|
:active-wo-item-index="activeItemIndex"
|
||||||
|
:goto-index="gotoTaskIndex"
|
||||||
data-cy="woItemTasks"
|
data-cy="woItemTasks"
|
||||||
@change="$emit('change')"
|
@change="$emit('change')"
|
||||||
/>
|
/>
|
||||||
@@ -420,6 +423,7 @@
|
|||||||
v-model="value"
|
v-model="value"
|
||||||
:pvm="pvm"
|
:pvm="pvm"
|
||||||
:active-wo-item-index="activeItemIndex"
|
:active-wo-item-index="activeItemIndex"
|
||||||
|
:goto-index="gotoPartIndex"
|
||||||
data-cy="woItemParts"
|
data-cy="woItemParts"
|
||||||
@change="$emit('change')"
|
@change="$emit('change')"
|
||||||
/>
|
/>
|
||||||
@@ -438,6 +442,7 @@
|
|||||||
v-model="value"
|
v-model="value"
|
||||||
:pvm="pvm"
|
:pvm="pvm"
|
||||||
:active-wo-item-index="activeItemIndex"
|
:active-wo-item-index="activeItemIndex"
|
||||||
|
:goto-index="gotoPartRequestIndex"
|
||||||
data-cy="woItemPartRequests"
|
data-cy="woItemPartRequests"
|
||||||
@change="$emit('change')"
|
@change="$emit('change')"
|
||||||
/>
|
/>
|
||||||
@@ -454,6 +459,7 @@
|
|||||||
v-model="value"
|
v-model="value"
|
||||||
:pvm="pvm"
|
:pvm="pvm"
|
||||||
:active-wo-item-index="activeItemIndex"
|
:active-wo-item-index="activeItemIndex"
|
||||||
|
:goto-index="gotoLaborIndex"
|
||||||
data-cy="woItemLabors"
|
data-cy="woItemLabors"
|
||||||
@change="$emit('change')"
|
@change="$emit('change')"
|
||||||
/>
|
/>
|
||||||
@@ -469,6 +475,7 @@
|
|||||||
v-model="value"
|
v-model="value"
|
||||||
:pvm="pvm"
|
:pvm="pvm"
|
||||||
:active-wo-item-index="activeItemIndex"
|
:active-wo-item-index="activeItemIndex"
|
||||||
|
:goto-index="gotoTravelIndex"
|
||||||
data-cy="woItemTravels"
|
data-cy="woItemTravels"
|
||||||
@change="$emit('change')"
|
@change="$emit('change')"
|
||||||
/>
|
/>
|
||||||
@@ -484,6 +491,7 @@
|
|||||||
v-model="value"
|
v-model="value"
|
||||||
:pvm="pvm"
|
:pvm="pvm"
|
||||||
:active-wo-item-index="activeItemIndex"
|
:active-wo-item-index="activeItemIndex"
|
||||||
|
:goto-index="gotoExpenseIndex"
|
||||||
data-cy="woItemExpenses"
|
data-cy="woItemExpenses"
|
||||||
@change="$emit('change')"
|
@change="$emit('change')"
|
||||||
/>
|
/>
|
||||||
@@ -492,7 +500,7 @@
|
|||||||
<v-col
|
<v-col
|
||||||
cols="12"
|
cols="12"
|
||||||
v-if="
|
v-if="
|
||||||
pvm.subRights.expenses.visible &&
|
pvm.subRights.loans.visible &&
|
||||||
form().showMe(this, 'WorkOrderItemLoanList')
|
form().showMe(this, 'WorkOrderItemLoanList')
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
@@ -500,6 +508,7 @@
|
|||||||
v-model="value"
|
v-model="value"
|
||||||
:pvm="pvm"
|
:pvm="pvm"
|
||||||
:active-wo-item-index="activeItemIndex"
|
:active-wo-item-index="activeItemIndex"
|
||||||
|
:goto-index="gotoLoanIndex"
|
||||||
data-cy="woItemLoans"
|
data-cy="woItemLoans"
|
||||||
@change="$emit('change')"
|
@change="$emit('change')"
|
||||||
/>
|
/>
|
||||||
@@ -507,7 +516,7 @@
|
|||||||
<v-col
|
<v-col
|
||||||
cols="12"
|
cols="12"
|
||||||
v-if="
|
v-if="
|
||||||
pvm.subRights.expenses.visible &&
|
pvm.subRights.outsideServices.visible &&
|
||||||
form().showMe(this, 'WorkOrderItemOutsideServiceList')
|
form().showMe(this, 'WorkOrderItemOutsideServiceList')
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user