diff --git a/ayanova/src/components/pm-item-parts.vue b/ayanova/src/components/pm-item-parts.vue index e3bbbc26..7d31d08d 100644 --- a/ayanova/src/components/pm-item-parts.vue +++ b/ayanova/src/components/pm-item-parts.vue @@ -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( diff --git a/ayanova/src/components/quote-item-parts.vue b/ayanova/src/components/quote-item-parts.vue index 64ebf94a..a3aa7287 100644 --- a/ayanova/src/components/quote-item-parts.vue +++ b/ayanova/src/components/quote-item-parts.vue @@ -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( diff --git a/ayanova/src/components/work-order-item-part-requests.vue b/ayanova/src/components/work-order-item-part-requests.vue index eeb76bfc..51b4fc9b 100644 --- a/ayanova/src/components/work-order-item-part-requests.vue +++ b/ayanova/src/components/work-order-item-part-requests.vue @@ -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, diff --git a/ayanova/src/components/work-order-item-parts.vue b/ayanova/src/components/work-order-item-parts.vue index 5841bf2f..e7ef7125 100644 --- a/ayanova/src/components/work-order-item-parts.vue +++ b/ayanova/src/components/work-order-item-parts.vue @@ -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( diff --git a/ayanova/src/views/inv-purchase-order.vue b/ayanova/src/views/inv-purchase-order.vue index e1b4c9f5..dd39cfa8 100644 --- a/ayanova/src/views/inv-purchase-order.vue +++ b/ayanova/src/views/inv-purchase-order.vue @@ -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,