This commit is contained in:
@@ -430,6 +430,7 @@ l.Add(new FormField { TKey = "WorkOrderItemPartPartSerialID", FieldKey = "WorkOr
|
||||
l.Add(new FormField { TKey = "WorkOrderItemPartPartWarehouseID", FieldKey = "WorkOrderItemPartServiceRateQuantity", TKeySection = "WorkOrderItemParts" });
|
||||
l.Add(new FormField { TKey = "WorkOrderItemPartQuantity", FieldKey = "WorkOrderItemPartServiceRateID", TKeySection = "WorkOrderItemParts" });
|
||||
l.Add(new FormField { TKey = "WorkOrderItemPartTaxPartSaleID", FieldKey = "WorkOrderItemPartServiceDetails", TKeySection = "WorkOrderItemParts" });
|
||||
l.Add(new FormField { TKey = "PartUPC", FieldKey = "PartUPC", TKeySection = "WorkOrderItemParts" });
|
||||
l.Add(new FormField { TKey = "Cost", FieldKey = "PartCost", TKeySection = "WorkOrderItemParts" });
|
||||
l.Add(new FormField { TKey = "ListPrice", FieldKey = "PartListPrice", TKeySection = "WorkOrderItemParts" });
|
||||
l.Add(new FormField { TKey = "Price", FieldKey = "PartPriceViz", TKeySection = "WorkOrderItemParts" });
|
||||
@@ -439,6 +440,35 @@ l.Add(new FormField { TKey = "NetPrice", FieldKey = "PartNetViz", TKeySection =
|
||||
l.Add(new FormField { TKey = "TaxAAmt", FieldKey = "PartTaxAViz", TKeySection = "WorkOrderItemParts" });
|
||||
l.Add(new FormField { TKey = "TaxBAmt", FieldKey = "PartTaxBViz", TKeySection = "WorkOrderItemParts" });
|
||||
l.Add(new FormField { TKey = "LineTotal", FieldKey = "PartLineTotalViz", TKeySection = "WorkOrderItemParts" });
|
||||
|
||||
{
|
||||
"0": {
|
||||
"id": 33,
|
||||
"concurrency": 8112668,
|
||||
"description": null,
|
||||
"serials": null,
|
||||
"partId": 16,
|
||||
"partViz": null,
|
||||
upcViz:"adjkfadjkfak"
|
||||
"partWarehouseId": 1,
|
||||
"partWarehouseViz": "Default",
|
||||
"quantity": 1,
|
||||
"taxPartSaleId": null,
|
||||
"taxPartSaleViz": null,
|
||||
"cost": 13.166710885319247,
|
||||
"listPrice": 15.800053062383098,
|
||||
"priceOverride": null,
|
||||
"unitOfMeasureViz": "each",
|
||||
"priceViz": 15.800053062383098,
|
||||
"netViz": 15.800053062383098,
|
||||
"taxAViz": 0,
|
||||
"taxBViz": 0,
|
||||
"lineTotalViz": 15.800053062383098,
|
||||
"isDirty": false,
|
||||
"workOrderItemId": 17
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
export default {
|
||||
created() {
|
||||
@@ -605,51 +635,51 @@ export default {
|
||||
*/
|
||||
let headers = [];
|
||||
|
||||
if (this.form().showMe(this, "WorkOrderItemPartServiceStartDate")) {
|
||||
if (this.form().showMe(this, "WorkOrderItemPartPartSerialID")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemPartServiceStartDate"),
|
||||
align: "right",
|
||||
value: "serviceStartDate"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "WorkOrderItemPartServiceStopDate")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemPartServiceStopDate"),
|
||||
align: "right",
|
||||
value: "serviceStopDate"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "WorkOrderItemPartServiceRateQuantity")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemPartServiceRateQuantity"),
|
||||
align: "right",
|
||||
value: "serviceRateQuantity"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "WorkOrderItemPartServiceRateID")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemPartServiceRateID"),
|
||||
text: this.$ay.t("WorkOrderItemPartPartSerialID"),
|
||||
align: "left",
|
||||
value: "serviceRateViz"
|
||||
value: "partViz"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "WorkOrderItemPartServiceDetails")) {
|
||||
if (this.form().showMe(this, "WorkOrderItemPartPartWarehouseID")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemPartServiceDetails"),
|
||||
text: this.$ay.t("WorkOrderItemPartPartWarehouseID"),
|
||||
align: "left",
|
||||
value: "serviceDetails"
|
||||
value: "partWarehouseViz"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "WorkOrderItemPartUserID")) {
|
||||
if (this.form().showMe(this, "WorkOrderItemPartQuantity")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemPartUserID"),
|
||||
text: this.$ay.t("WorkOrderItemPartQuantity"),
|
||||
align: "right",
|
||||
value: "quantity"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "PartUPC")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("PartUPC"),
|
||||
align: "left",
|
||||
value: "userViz"
|
||||
value: "upcViz"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "WorkOrderItemPartDescription")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemPartDescription"),
|
||||
align: "left",
|
||||
value: "description"
|
||||
});
|
||||
}
|
||||
|
||||
if (this.form().showMe(this, "WorkOrderItemPartPartSerialID")) {
|
||||
headers.push({
|
||||
text: this.$ay.t("WorkOrderItemPartPartSerialID"),
|
||||
align: "left",
|
||||
value: "serials"
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user