This commit is contained in:
2022-02-08 00:38:29 +00:00
parent fcc41fc4d0
commit 7455f2fe38
7 changed files with 8 additions and 12 deletions

View File

@@ -20,7 +20,6 @@
<v-date-picker
:value="dateValue"
:locale="languageName"
show-adjacent-months
@input="updateDateValue"
>
<v-btn text color="primary" @click="$emit('input', null)">{{

View File

@@ -21,7 +21,6 @@
<v-date-picker
:value="dateValue"
:locale="languageName"
show-adjacent-months
@input="updateDateValue"
>
<v-btn text color="primary" @click="$emit('input', null)">{{

View File

@@ -915,13 +915,13 @@ export default {
},
canAddOutsideService: function() {
return (
this.form().showMe(this, "WorkOrderItemOutsideServiceList") &&
this.form().showMe(this, "OutsideServiceList") &&
!this.value.userIsRestrictedType
);
},
showOutsideServices: function() {
return (
this.form().showMe(this, "WorkOrderItemOutsideServiceList") &&
this.form().showMe(this, "OutsideServiceList") &&
this.value.items[this.activeItemIndex].outsideServices.length > 0 &&
!this.value.userIsRestrictedType
);

View File

@@ -913,13 +913,13 @@ export default {
},
canAddOutsideService: function() {
return (
this.form().showMe(this, "WorkOrderItemOutsideServiceList") &&
this.form().showMe(this, "OutsideServiceList") &&
!this.value.userIsRestrictedType
);
},
showOutsideServices: function() {
return (
this.form().showMe(this, "WorkOrderItemOutsideServiceList") &&
this.form().showMe(this, "OutsideServiceList") &&
this.value.items[this.activeItemIndex].outsideServices.length > 0 &&
!this.value.userIsRestrictedType
);

View File

@@ -588,7 +588,7 @@ export default {
value: "quantity"
});
//todo: property indicatingh if this woitem has *any* suggested quantities and removed it if not
//todo: property indicatingh if this woitem has *any* suggested quantities and removed it if not
if (this.form().showMe(this, "WorkOrderItemPartSuggestedQuantity")) {
headers.push({
text: this.$ay.t("WorkOrderItemPartSuggestedQuantity"),
@@ -621,8 +621,7 @@ export default {
});
}
//not sure about this one, removed it for now
//not sure about this one, removed it for now
// if (this.form().showMe(this, "PurchaseOrderItemSerialNumbers")) {
// headers.push({
// text: this.$ay.t("PurchaseOrderItemSerialNumbers"),

View File

@@ -1023,13 +1023,13 @@ export default {
},
canAddOutsideService: function() {
return (
this.form().showMe(this, "WorkOrderItemOutsideServiceList") &&
this.form().showMe(this, "OutsideServiceList") &&
!this.value.userIsRestrictedType
);
},
showOutsideServices: function() {
return (
this.form().showMe(this, "WorkOrderItemOutsideServiceList") &&
this.form().showMe(this, "OutsideServiceList") &&
this.value.items[this.activeItemIndex].outsideServices.length > 0 &&
!this.value.userIsRestrictedType
);