This commit is contained in:
@@ -306,9 +306,12 @@ todo: many biz objects are not using new PUT methodology
|
||||
|
||||
|
||||
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
|
||||
|
||||
@@ -212,6 +212,7 @@
|
||||
`Items[${activeWoItemIndex}].scheduledUsers[${activeItemIndex}].userId`
|
||||
)
|
||||
"
|
||||
@update:name="userChange"
|
||||
></gz-pick-list>
|
||||
</v-col>
|
||||
|
||||
@@ -311,6 +312,11 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
userChange(newName) {
|
||||
this.value.items[this.activeWoItemIndex].scheduledUsers[
|
||||
this.activeItemIndex
|
||||
].userViz = newName;
|
||||
},
|
||||
newItem() {
|
||||
let newIndex = this.value.items[this.activeWoItemIndex].scheduledUsers
|
||||
.length;
|
||||
@@ -368,6 +374,11 @@ export default {
|
||||
this.activeItemIndex
|
||||
].isDirty = true;
|
||||
window.$gz.form.fieldValueChanged(this.pvm, ref);
|
||||
|
||||
// //set viz if applicable
|
||||
// if(ref==""){
|
||||
// let selectedPartWarehouse = vm.$refs.partWarehouseId.getFullSelectionValue();
|
||||
// }
|
||||
}
|
||||
},
|
||||
itemRowClasses: function(item) {
|
||||
|
||||
@@ -128,10 +128,7 @@
|
||||
></v-text-field>
|
||||
</v-col>
|
||||
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'Items.WorkOrderItemTechNotes')"
|
||||
cols="12"
|
||||
>
|
||||
<v-col v-if="form().showMe(this, 'WorkOrderItemTechNotes')" cols="12">
|
||||
<v-textarea
|
||||
v-model="value.items[activeItemIndex].techNotes"
|
||||
:readonly="formState.readOnly"
|
||||
@@ -297,7 +294,7 @@
|
||||
></v-checkbox>
|
||||
</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
|
||||
v-model="value.items[activeItemIndex].tags"
|
||||
:readonly="formState.readOnly"
|
||||
@@ -329,7 +326,7 @@
|
||||
></gz-custom-fields>
|
||||
</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
|
||||
:aya-type="$ay.ayt().WorkOrderItem"
|
||||
:aya-id="value.id"
|
||||
@@ -341,9 +338,7 @@
|
||||
></v-col>
|
||||
|
||||
<v-col
|
||||
v-if="
|
||||
form().showMe(this, 'Items.WorkOrderItemAttachments') && value.id
|
||||
"
|
||||
v-if="form().showMe(this, 'WorkOrderItemAttachments') && value.id"
|
||||
cols="12"
|
||||
>
|
||||
<gz-attachments
|
||||
@@ -357,7 +352,7 @@
|
||||
<GzWoItemScheduledUsers
|
||||
v-if="
|
||||
pvm.subRights.scheduledUsers.visible &&
|
||||
form().showMe(this, 'Items.WorkOrderItemScheduledUserList')
|
||||
form().showMe(this, 'WorkOrderItemScheduledUserList')
|
||||
"
|
||||
v-model="value"
|
||||
:pvm="pvm"
|
||||
|
||||
Reference in New Issue
Block a user