This commit is contained in:
@@ -306,9 +306,12 @@ todo: many biz objects are not using new PUT methodology
|
|||||||
|
|
||||||
|
|
||||||
CURRENTLY DOING:
|
CURRENTLY DOING:
|
||||||
sched user - todo: hide columns baserd on new keys (still using old keys)
|
todo:set viz fields on new selection
|
||||||
|
technique already used b4 maybe on po?
|
||||||
|
|
||||||
todo: hide data table columns for woitem as they are not using new keys for hiding
|
|
||||||
|
|
||||||
|
TODO: test new from scratch wo regularly
|
||||||
|
|
||||||
|
|
||||||
OVERALL
|
OVERALL
|
||||||
|
|||||||
@@ -212,6 +212,7 @@
|
|||||||
`Items[${activeWoItemIndex}].scheduledUsers[${activeItemIndex}].userId`
|
`Items[${activeWoItemIndex}].scheduledUsers[${activeItemIndex}].userId`
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
@update:name="userChange"
|
||||||
></gz-pick-list>
|
></gz-pick-list>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
@@ -311,6 +312,11 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
userChange(newName) {
|
||||||
|
this.value.items[this.activeWoItemIndex].scheduledUsers[
|
||||||
|
this.activeItemIndex
|
||||||
|
].userViz = newName;
|
||||||
|
},
|
||||||
newItem() {
|
newItem() {
|
||||||
let newIndex = this.value.items[this.activeWoItemIndex].scheduledUsers
|
let newIndex = this.value.items[this.activeWoItemIndex].scheduledUsers
|
||||||
.length;
|
.length;
|
||||||
@@ -368,6 +374,11 @@ export default {
|
|||||||
this.activeItemIndex
|
this.activeItemIndex
|
||||||
].isDirty = true;
|
].isDirty = true;
|
||||||
window.$gz.form.fieldValueChanged(this.pvm, ref);
|
window.$gz.form.fieldValueChanged(this.pvm, ref);
|
||||||
|
|
||||||
|
// //set viz if applicable
|
||||||
|
// if(ref==""){
|
||||||
|
// let selectedPartWarehouse = vm.$refs.partWarehouseId.getFullSelectionValue();
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
itemRowClasses: function(item) {
|
itemRowClasses: function(item) {
|
||||||
|
|||||||
@@ -128,10 +128,7 @@
|
|||||||
></v-text-field>
|
></v-text-field>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col
|
<v-col v-if="form().showMe(this, 'WorkOrderItemTechNotes')" cols="12">
|
||||||
v-if="form().showMe(this, 'Items.WorkOrderItemTechNotes')"
|
|
||||||
cols="12"
|
|
||||||
>
|
|
||||||
<v-textarea
|
<v-textarea
|
||||||
v-model="value.items[activeItemIndex].techNotes"
|
v-model="value.items[activeItemIndex].techNotes"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
@@ -297,7 +294,7 @@
|
|||||||
></v-checkbox>
|
></v-checkbox>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col v-if="form().showMe(this, 'Items.WorkOrderItemTags')" cols="12">
|
<v-col v-if="form().showMe(this, 'WorkOrderItemTags')" cols="12">
|
||||||
<gz-tag-picker
|
<gz-tag-picker
|
||||||
v-model="value.items[activeItemIndex].tags"
|
v-model="value.items[activeItemIndex].tags"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
@@ -329,7 +326,7 @@
|
|||||||
></gz-custom-fields>
|
></gz-custom-fields>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col v-if="form().showMe(this, 'Items.WorkOrderItemWiki')" cols="12">
|
<v-col v-if="form().showMe(this, 'WorkOrderItemWiki')" cols="12">
|
||||||
<gz-wiki
|
<gz-wiki
|
||||||
:aya-type="$ay.ayt().WorkOrderItem"
|
:aya-type="$ay.ayt().WorkOrderItem"
|
||||||
:aya-id="value.id"
|
:aya-id="value.id"
|
||||||
@@ -341,9 +338,7 @@
|
|||||||
></v-col>
|
></v-col>
|
||||||
|
|
||||||
<v-col
|
<v-col
|
||||||
v-if="
|
v-if="form().showMe(this, 'WorkOrderItemAttachments') && value.id"
|
||||||
form().showMe(this, 'Items.WorkOrderItemAttachments') && value.id
|
|
||||||
"
|
|
||||||
cols="12"
|
cols="12"
|
||||||
>
|
>
|
||||||
<gz-attachments
|
<gz-attachments
|
||||||
@@ -357,7 +352,7 @@
|
|||||||
<GzWoItemScheduledUsers
|
<GzWoItemScheduledUsers
|
||||||
v-if="
|
v-if="
|
||||||
pvm.subRights.scheduledUsers.visible &&
|
pvm.subRights.scheduledUsers.visible &&
|
||||||
form().showMe(this, 'Items.WorkOrderItemScheduledUserList')
|
form().showMe(this, 'WorkOrderItemScheduledUserList')
|
||||||
"
|
"
|
||||||
v-model="value"
|
v-model="value"
|
||||||
:pvm="pvm"
|
:pvm="pvm"
|
||||||
|
|||||||
Reference in New Issue
Block a user