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