This commit is contained in:
@@ -57,6 +57,9 @@ todo: workorders - need to set billing and service address from customers on mig
|
|||||||
|
|
||||||
todo: Translation: "Physical" address seems wierd, rename to Street address or Delivery address or Service Address or whatever
|
todo: Translation: "Physical" address seems wierd, rename to Street address or Delivery address or Service Address or whatever
|
||||||
|
|
||||||
|
todo: Any "Priority" type value in UI that has colors should use ayaFireAlt icon instead of round circle which is for minor status only
|
||||||
|
Flag is for major status like all of workorder
|
||||||
|
|
||||||
todo: be sure to address items in case https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3864
|
todo: be sure to address items in case https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3864
|
||||||
before next update to server / windows build for Joyce
|
before next update to server / windows build for Joyce
|
||||||
|
|
||||||
@@ -301,21 +304,12 @@ todo: many biz objects are not using new PUT methodology
|
|||||||
CURRENTLY DOING: woitempriority, woitemstatus edit forms first so have something to test the control on
|
CURRENTLY DOING: woitempriority, woitemstatus edit forms first so have something to test the control on
|
||||||
|
|
||||||
|
|
||||||
TODO: Need control for selection.
|
TODO: Componentize the priority and woitem status controls from working examples in form now
|
||||||
it's just a select list but needs to show the color, background is sketchy as might conflict with text color so keep in mind
|
also it needs to auto filter out the inactive ones unless it's the current selection
|
||||||
check vuetify docs for select see about color, I'm thinking if I can get a round dot color in there at start or stop will be ok
|
TOOD: Grid is showing id for status / priority and not the actual items
|
||||||
could use emoji or similar if necessary or maybe it's like the grid lists and just colors a border on one side (!!!!!)
|
will need something funky with colors etc I guess
|
||||||
|
|
||||||
wo should prefetch and store picklist style like the wostatus already does on open
|
TODO: help docs for woitemstatus and woitempriority edit and list forms
|
||||||
|
|
||||||
TODO: help docs for woitemstatus and woitempriority
|
|
||||||
|
|
||||||
|
|
||||||
Joyce is going to:
|
|
||||||
1797-B 10th street
|
|
||||||
East courtenay
|
|
||||||
past superstore area
|
|
||||||
taking van
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-if="value != null">
|
<div v-if="value != null">
|
||||||
|
<v-row>
|
||||||
<!-- Title and menu -->
|
<!-- Title and menu -->
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<v-menu offset-y>
|
<v-menu offset-y>
|
||||||
@@ -118,14 +119,25 @@
|
|||||||
></v-textarea>
|
></v-textarea>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col
|
||||||
|
v-if="form().showMe(this, 'WorkOrderItemWorkOrderStatusID')"
|
||||||
|
cols="12"
|
||||||
|
sm="6"
|
||||||
|
lg="4"
|
||||||
|
xl="3"
|
||||||
|
>
|
||||||
<v-autocomplete
|
<v-autocomplete
|
||||||
v-model="value.items[activeItemIndex].workorderItemStatusId"
|
v-model="value.items[activeItemIndex].workorderItemStatusId"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:disabled="isDeleted"
|
||||||
@input="fieldValueChanged('workorderItemStatusId')"
|
@input="fieldValueChanged('workorderItemStatusId')"
|
||||||
:items="pvm.selectLists.woItemStatus"
|
:items="pvm.selectLists.woItemStatus"
|
||||||
item-text="name"
|
item-text="name"
|
||||||
item-value="id"
|
item-value="id"
|
||||||
:label="$ay.t('WorkOrderItemWorkOrderStatusID')"
|
:label="$ay.t('WorkOrderItemWorkOrderStatusID')"
|
||||||
|
:error-messages="form().serverErrors(this, 'workorderItemStatusId')"
|
||||||
|
ref="workorderItemStatusId"
|
||||||
|
data-cy="workorderItemStatusId"
|
||||||
prepend-icon="$ayiEdit"
|
prepend-icon="$ayiEdit"
|
||||||
@click:prepend="handleEditItemStatusClick()"
|
@click:prepend="handleEditItemStatusClick()"
|
||||||
>
|
>
|
||||||
@@ -155,14 +167,27 @@
|
|||||||
</v-autocomplete>
|
</v-autocomplete>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col
|
||||||
|
v-if="form().showMe(this, 'WorkOrderItemPriorityID')"
|
||||||
|
cols="12"
|
||||||
|
sm="6"
|
||||||
|
lg="4"
|
||||||
|
xl="3"
|
||||||
|
>
|
||||||
<v-autocomplete
|
<v-autocomplete
|
||||||
v-model="value.items[activeItemIndex].workorderItemPriorityId"
|
v-model="value.items[activeItemIndex].workorderItemPriorityId"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:disabled="isDeleted"
|
||||||
@input="fieldValueChanged('workorderItemPriorityId')"
|
@input="fieldValueChanged('workorderItemPriorityId')"
|
||||||
:items="pvm.selectLists.woItemPriorities"
|
:items="pvm.selectLists.woItemPriorities"
|
||||||
item-text="name"
|
item-text="name"
|
||||||
item-value="id"
|
item-value="id"
|
||||||
:label="$ay.t('WorkOrderItemPriorityID')"
|
:label="$ay.t('WorkOrderItemPriorityID')"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'workorderItemPriorityId')
|
||||||
|
"
|
||||||
|
ref="workorderItemPriorityId"
|
||||||
|
data-cy="workorderItemPriorityId"
|
||||||
prepend-icon="$ayiEdit"
|
prepend-icon="$ayiEdit"
|
||||||
@click:prepend="handleEditItemPriorityClick()"
|
@click:prepend="handleEditItemPriorityClick()"
|
||||||
>
|
>
|
||||||
@@ -191,11 +216,11 @@
|
|||||||
</v-autocomplete>
|
</v-autocomplete>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
//status WorkOrderItemWorkOrderStatusID WorkorderItemStatusId //priority
|
<!-- //status WorkOrderItemWorkOrderStatusID WorkorderItemStatusId //priority
|
||||||
WorkOrderItemPriorityID WorkorderItemPriorityId //requestdate
|
WorkOrderItemPriorityID WorkorderItemPriorityId //requestdate
|
||||||
WorkOrderItemRequestDate RequestDate //warrantyservice
|
WorkOrderItemRequestDate RequestDate //warrantyservice
|
||||||
WorkOrderItemWarrantyService WarrantyService
|
WorkOrderItemWarrantyService WarrantyService -->
|
||||||
|
<v-col cols="12">
|
||||||
<GzWoItemScheduledUsers
|
<GzWoItemScheduledUsers
|
||||||
v-if="
|
v-if="
|
||||||
pvm.subRights.scheduledUsers.visible &&
|
pvm.subRights.scheduledUsers.visible &&
|
||||||
@@ -207,7 +232,9 @@
|
|||||||
data-cy="woItemScheduledUsers"
|
data-cy="woItemScheduledUsers"
|
||||||
@change="$emit('change')"
|
@change="$emit('change')"
|
||||||
/>
|
/>
|
||||||
|
</v-col>
|
||||||
</template>
|
</template>
|
||||||
|
</v-row>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -453,7 +480,7 @@ and it's probably not a big list to fill anyway
|
|||||||
x.quantityReceived,
|
x.quantityReceived,
|
||||||
this.pvm.languageName
|
this.pvm.languageName
|
||||||
),
|
),
|
||||||
status: x.workorderItemStatusId, //todo: get real status name etc here
|
status: x.workorderItemStatusId, //todo: get real status name etc here use
|
||||||
requestDate: window.$gz.locale.utcDateToShortDateAndTimeLocalized(
|
requestDate: window.$gz.locale.utcDateToShortDateAndTimeLocalized(
|
||||||
x.requestDate,
|
x.requestDate,
|
||||||
this.pvm.timeZoneName,
|
this.pvm.timeZoneName,
|
||||||
@@ -492,5 +519,10 @@ and it's probably not a big list to fill anyway
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO: Function status name from woitemstatusid
|
||||||
|
//and priority same
|
||||||
|
//this.pvm.pickLists.woItemStatus.find(x=>x.id==x.workorderItemStatusId)
|
||||||
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -392,7 +392,7 @@ function generateMenu(vm) {
|
|||||||
let menuOptions = {
|
let menuOptions = {
|
||||||
isMain: false,
|
isMain: false,
|
||||||
readOnly: vm.formState.readOnly,
|
readOnly: vm.formState.readOnly,
|
||||||
icon: "$ayiCircle",
|
icon: "$ayiFireAlt",
|
||||||
title: "WorkOrderItemPriority",
|
title: "WorkOrderItemPriority",
|
||||||
helpUrl: "svc-work-order-item-priority",
|
helpUrl: "svc-work-order-item-priority",
|
||||||
formData: {
|
formData: {
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ async function clickHandler(menuItem) {
|
|||||||
function generateMenu(vm) {
|
function generateMenu(vm) {
|
||||||
let menuOptions = {
|
let menuOptions = {
|
||||||
isMain: true,
|
isMain: true,
|
||||||
icon: "$ayiCircle",
|
icon: "$ayiFireAlt",
|
||||||
title: "WorkOrderItemPriorityList",
|
title: "WorkOrderItemPriorityList",
|
||||||
helpUrl: "svc-work-order-item-priority",
|
helpUrl: "svc-work-order-item-priority",
|
||||||
menuItems: [],
|
menuItems: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user