This commit is contained in:
@@ -1086,7 +1086,7 @@ export default {
|
||||
return {
|
||||
index: i,
|
||||
id: x.id,
|
||||
partViz: x.partViz,
|
||||
partNameViz: x.partNameViz,
|
||||
partWarehouseViz: x.partWarehouseViz,
|
||||
quantity: window.$gz.locale.decimalLocalized(
|
||||
x.quantity,
|
||||
@@ -1096,7 +1096,7 @@ export default {
|
||||
x.suggestedQuantity,
|
||||
this.pvm.languageName
|
||||
),
|
||||
partNameViz: x.partNameViz,
|
||||
partDescriptionViz: x.partDescriptionViz,
|
||||
upcViz: x.upcViz,
|
||||
description: x.description,
|
||||
serials: window.$gz.util.truncateString(
|
||||
|
||||
@@ -1033,13 +1033,13 @@ export default {
|
||||
return {
|
||||
index: i,
|
||||
id: x.id,
|
||||
partViz: x.partViz,
|
||||
partNameViz: x.partNameViz,
|
||||
partWarehouseViz: x.partWarehouseViz,
|
||||
quantity: window.$gz.locale.decimalLocalized(
|
||||
x.quantity,
|
||||
this.pvm.languageName
|
||||
),
|
||||
partNameViz: x.partNameViz,
|
||||
partDescriptionViz: x.partDescriptionViz,
|
||||
upcViz: x.upcViz,
|
||||
description: x.description,
|
||||
serials: window.$gz.util.truncateString(
|
||||
|
||||
@@ -234,7 +234,7 @@ export default {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemPartRequestPartID"),
|
||||
align: "left",
|
||||
value: "partViz"
|
||||
value: "partNameViz"
|
||||
});
|
||||
}
|
||||
|
||||
@@ -257,6 +257,14 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "PartDescription")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("PartDescription"),
|
||||
align: "left",
|
||||
value: "partDescriptionViz"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "PartRequestPartUPC")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("PartUPC"),
|
||||
@@ -322,12 +330,13 @@ export default {
|
||||
return {
|
||||
index: i,
|
||||
id: x.id,
|
||||
partViz: x.partViz,
|
||||
partNameViz: x.partNameViz,
|
||||
partWarehouseViz: x.partWarehouseViz,
|
||||
quantity: window.$gz.locale.decimalLocalized(
|
||||
x.quantity,
|
||||
this.pvm.languageName
|
||||
),
|
||||
partDescriptionViz: x.partDescriptionViz,
|
||||
upcViz: x.upcViz,
|
||||
purchaseOrderViz: x.purchaseOrderViz,
|
||||
purchaseOrderIdViz: x.purchaseOrderIdViz,
|
||||
|
||||
@@ -1106,7 +1106,7 @@ export default {
|
||||
return {
|
||||
index: i,
|
||||
id: x.id,
|
||||
partViz: x.partViz,
|
||||
partNameViz: x.partNameViz,
|
||||
partWarehouseViz: x.partWarehouseViz,
|
||||
quantity: window.$gz.locale.decimalLocalized(
|
||||
x.quantity,
|
||||
@@ -1116,7 +1116,7 @@ export default {
|
||||
x.suggestedQuantity,
|
||||
this.pvm.languageName
|
||||
),
|
||||
partNameViz: x.partNameViz,
|
||||
partDescriptionViz: x.partDescriptionViz,
|
||||
upcViz: x.upcViz,
|
||||
description: x.description,
|
||||
serials: window.$gz.util.truncateString(
|
||||
|
||||
@@ -1017,14 +1017,22 @@ export default {
|
||||
headers.push({
|
||||
text: this.$ay.t("Part"),
|
||||
align: "left",
|
||||
value: "partViz"
|
||||
value: "partNameViz"
|
||||
});
|
||||
|
||||
if (this.form().showMe(this, "Items.PartName")) {
|
||||
if (this.form().showMe(this, "Items.PartDescription")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("PartName"),
|
||||
text: this.$ay.t("PartDescription"),
|
||||
align: "left",
|
||||
value: "partNameViz"
|
||||
value: "partDescriptionViz"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "PartUPC")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("PartUPC"),
|
||||
align: "left",
|
||||
value: "upcViz"
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1182,8 +1190,9 @@ export default {
|
||||
this.hour12
|
||||
),
|
||||
vendorPartNumber: x.vendorPartNumber,
|
||||
partViz: x.partViz,
|
||||
partDescriptionViz: x.partDescriptionViz,
|
||||
partNameViz: x.partNameViz,
|
||||
upcViz: x.upcViz,
|
||||
warehouseViz: x.warehouseViz,
|
||||
partUnitOfMeasureViz: x.partUnitOfMeasureViz,
|
||||
partRequestedByViz: x.partRequestedByViz,
|
||||
|
||||
Reference in New Issue
Block a user