This commit is contained in:
2022-01-24 00:37:41 +00:00
parent dc558e75bf
commit 34f5dbe361

View File

@@ -231,7 +231,7 @@
</v-col> </v-col>
<v-col <v-col
v-if="form().showMe(this, 'WorkOrderItemPartSuggestedQuantity')" v-if="form().showMe(this, 'SuggestedQuantity')"
cols="12" cols="12"
sm="6" sm="6"
lg="4" lg="4"
@@ -272,7 +272,7 @@
</v-col> </v-col>
<v-col <v-col
v-if="form().showMe(this, 'WorkOrderItemPartDescription')" v-if="form().showMe(this, 'Description')"
cols="12" cols="12"
sm="6" sm="6"
lg="4" lg="4"
@@ -307,8 +307,7 @@
<v-col <v-col
v-if=" v-if="
form().showMe(this, 'WorkOrderItemPartTaxPartSaleID') && form().showMe(this, 'TaxPartSaleID') && !value.userIsRestrictedType
!value.userIsRestrictedType
" "
cols="12" cols="12"
sm="6" sm="6"
@@ -346,8 +345,7 @@
<v-col <v-col
v-if=" v-if="
form().showMe(this, 'PartPriceOverride') && form().showMe(this, 'PriceOverride') && !value.userIsRestrictedType
!value.userIsRestrictedType
" "
cols="12" cols="12"
sm="6" sm="6"
@@ -387,7 +385,7 @@
></gz-currency> ></gz-currency>
</v-col> </v-col>
<v-col v-if="form().showMe(this, 'WorkOrderItemPartSerials')" cols="12"> <v-col v-if="form().showMe(this, 'Serials')" cols="12">
<v-textarea <v-textarea
:ref=" :ref="
`Items[${activeWoItemIndex}].parts[${activeItemIndex}].serials` `Items[${activeWoItemIndex}].parts[${activeItemIndex}].serials`
@@ -585,7 +583,7 @@ export default {
value: "quantity" value: "quantity"
}); });
if (this.form().showMe(this, "WorkOrderItemPartSuggestedQuantity")) { if (this.form().showMe(this, "SuggestedQuantity")) {
headers.push({ headers.push({
text: this.$ay.t("WorkOrderItemPartSuggestedQuantity"), text: this.$ay.t("WorkOrderItemPartSuggestedQuantity"),
align: "right", align: "right",
@@ -609,7 +607,7 @@ export default {
}); });
} }
if (this.form().showMe(this, "WorkOrderItemPartDescription")) { if (this.form().showMe(this, "Description")) {
headers.push({ headers.push({
text: this.$ay.t("WorkOrderItemPartDescription"), text: this.$ay.t("WorkOrderItemPartDescription"),
align: "left", align: "left",
@@ -617,7 +615,7 @@ export default {
}); });
} }
if (this.form().showMe(this, "WorkOrderItemPartSerials")) { if (this.form().showMe(this, "Serials")) {
headers.push({ headers.push({
text: this.$ay.t("PurchaseOrderItemSerialNumbers"), text: this.$ay.t("PurchaseOrderItemSerialNumbers"),
align: "left", align: "left",
@@ -657,7 +655,7 @@ export default {
} }
if ( if (
this.form().showMe(this, "PartPriceOverride") && this.form().showMe(this, "PriceOverride") &&
!this.value.userIsRestrictedType !this.value.userIsRestrictedType
) { ) {
headers.push({ headers.push({
@@ -679,7 +677,7 @@ export default {
} }
if ( if (
this.form().showMe(this, "WorkOrderItemPartTaxPartSaleID") && this.form().showMe(this, "TaxPartSaleID") &&
!this.value.userIsRestrictedType !this.value.userIsRestrictedType
) { ) {
headers.push({ headers.push({