This commit is contained in:
@@ -67,6 +67,7 @@
|
|||||||
<div v-if="pvm.hasSelectedWoItem">
|
<div v-if="pvm.hasSelectedWoItem">
|
||||||
{{ value.items[pvm.selectedItemIndex].scheduledUsers }}
|
{{ value.items[pvm.selectedItemIndex].scheduledUsers }}
|
||||||
</div> -->
|
</div> -->
|
||||||
|
{{ value.items[pvm.selectedItemIndex].scheduledUsers }}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -166,7 +167,7 @@ IN ORDER: start, stop, quantity, user, rate
|
|||||||
headers.push({
|
headers.push({
|
||||||
text: this.$ay.t("WorkOrderItemScheduledUserEstimatedQuantity"),
|
text: this.$ay.t("WorkOrderItemScheduledUserEstimatedQuantity"),
|
||||||
align: "right",
|
align: "right",
|
||||||
value: "quantity"
|
value: "estimatedQuantity"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -186,27 +187,32 @@ IN ORDER: start, stop, quantity, user, rate
|
|||||||
return headers;
|
return headers;
|
||||||
},
|
},
|
||||||
itemList: function() {
|
itemList: function() {
|
||||||
return this.value.items.map((x, i) => {
|
return this.value.items[this.pvm.selectedItemIndex].scheduledUsers.map(
|
||||||
return {
|
(x, i) => {
|
||||||
index: i,
|
return {
|
||||||
id: x.id,
|
index: i,
|
||||||
startDate: window.$gz.locale.utcDateToShortDateAndTimeLocalized(
|
id: x.id,
|
||||||
x.startDate,
|
startDate: window.$gz.locale.utcDateToShortDateAndTimeLocalized(
|
||||||
this.pvm.timeZoneName,
|
x.startDate,
|
||||||
this.pvm.languageName,
|
this.pvm.timeZoneName,
|
||||||
this.pvm.hour12
|
this.pvm.languageName,
|
||||||
),
|
this.pvm.hour12
|
||||||
|
),
|
||||||
stopDate: window.$gz.locale.utcDateToShortDateAndTimeLocalized(
|
stopDate: window.$gz.locale.utcDateToShortDateAndTimeLocalized(
|
||||||
x.stopDate,
|
x.stopDate,
|
||||||
this.pvm.timeZoneName,
|
this.pvm.timeZoneName,
|
||||||
this.pvm.languageName,
|
this.pvm.languageName,
|
||||||
this.pvm.hour12
|
this.pvm.hour12
|
||||||
),
|
),
|
||||||
userViz: x.userViz,
|
estimatedQuantity: window.$gz.locale.decimalLocalized(
|
||||||
rateViz: x.rateViz
|
x.estimatedQuantity,
|
||||||
};
|
this.pvm.languageName
|
||||||
});
|
),
|
||||||
|
userViz: x.userViz,
|
||||||
|
rateViz: x.rateViz
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
},
|
},
|
||||||
formState: function() {
|
formState: function() {
|
||||||
return this.pvm.formState;
|
return this.pvm.formState;
|
||||||
|
|||||||
@@ -847,7 +847,12 @@ async function fetchTranslatedText(vm) {
|
|||||||
"WorkOrderItemWorkOrderStatusID",
|
"WorkOrderItemWorkOrderStatusID",
|
||||||
"WorkOrderItemRequestDate",
|
"WorkOrderItemRequestDate",
|
||||||
"WorkOrderItemPriorityID",
|
"WorkOrderItemPriorityID",
|
||||||
"WorkOrderItemWarrantyService"
|
"WorkOrderItemWarrantyService",
|
||||||
|
"WorkOrderItemScheduledUserStartDate",
|
||||||
|
"WorkOrderItemScheduledUserStopDate",
|
||||||
|
"WorkOrderItemScheduledUserEstimatedQuantity",
|
||||||
|
"WorkOrderItemScheduledUserUserID",
|
||||||
|
"WorkOrderItemScheduledUserServiceRateID"
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user