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