This commit is contained in:
@@ -134,9 +134,6 @@
|
|||||||
lg="4"
|
lg="4"
|
||||||
xl="3"
|
xl="3"
|
||||||
>
|
>
|
||||||
<!-- {{
|
|
||||||
value.items[activeWoItemIndex].units[activeItemIndex].warrantyViz
|
|
||||||
}} -->
|
|
||||||
<v-card>
|
<v-card>
|
||||||
<v-card-title>{{ $ay.t("UnitWarrantyInfo") }}</v-card-title>
|
<v-card-title>{{ $ay.t("UnitWarrantyInfo") }}</v-card-title>
|
||||||
<v-card-text
|
<v-card-text
|
||||||
@@ -145,14 +142,9 @@
|
|||||||
.warrantyViz
|
.warrantyViz
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<!-- <div
|
|
||||||
v-html="
|
|
||||||
value.items[activeWoItemIndex].units[activeItemIndex]
|
|
||||||
.warrantyViz
|
|
||||||
"
|
|
||||||
></div> -->
|
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
<v-card-actions>
|
<v-card-actions>
|
||||||
|
<v-spacer></v-spacer>
|
||||||
<v-btn color="primary" text @click="getWarrantyInfo">{{
|
<v-btn color="primary" text @click="getWarrantyInfo">{{
|
||||||
$ay.t("Search")
|
$ay.t("Search")
|
||||||
}}</v-btn>
|
}}</v-btn>
|
||||||
@@ -417,7 +409,7 @@ export default {
|
|||||||
*/
|
*/
|
||||||
const r = res.data;
|
const r = res.data;
|
||||||
|
|
||||||
let Warranty = `${this.$ay.t("Warranty")}:`;
|
let WarrantyInfo = `${this.$ay.t("Warranty")}: `;
|
||||||
let WarrantyExpiryInfo = "-";
|
let WarrantyExpiryInfo = "-";
|
||||||
if (r.lifeTimeWarranty) {
|
if (r.lifeTimeWarranty) {
|
||||||
WarrantyExpiryInfo = this.$ay.t("UnitModelLifeTimeWarranty");
|
WarrantyExpiryInfo = this.$ay.t("UnitModelLifeTimeWarranty");
|
||||||
@@ -433,11 +425,11 @@ export default {
|
|||||||
)}`;
|
)}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Warranty += WarrantyExpiryInfo;
|
WarrantyInfo += WarrantyExpiryInfo;
|
||||||
|
|
||||||
let PurchasedFrom = "-";
|
let PurchasedFrom = "-";
|
||||||
if (r.purchaseFromVendorId) {
|
if (r.purchaseFromVendorId) {
|
||||||
PurchasedFrom = `<a href="/vendors/${r.purchaseFromVendorId}"> ${r.purchaseFromVendor}</a>`;
|
PurchasedFrom = `<a href="/vendors/${r.purchaseFromVendorId}"> ${r.purchasedFromVendor}</a>`;
|
||||||
}
|
}
|
||||||
let PurchasedDate = "-";
|
let PurchasedDate = "-";
|
||||||
if (r.purchaseDate) {
|
if (r.purchaseDate) {
|
||||||
@@ -473,11 +465,11 @@ export default {
|
|||||||
RecentWorkOrderList = "-";
|
RecentWorkOrderList = "-";
|
||||||
}
|
}
|
||||||
|
|
||||||
let RecentWorkOrders = `${this.$ay.t(
|
let RecentWorkOrderInfo = `${this.$ay.t(
|
||||||
"RecentWorkOrders"
|
"RecentWorkOrders"
|
||||||
)}:${RecentWorkOrderList}`;
|
)}:${RecentWorkOrderList}`;
|
||||||
|
|
||||||
let d = `<div>${Warranty}<br/>${PurchaseInfo}<br/>${RecentWorkOrders}</div>`;
|
let d = `<div>${WarrantyInfo}<br/>${PurchaseInfo}<br/>${RecentWorkOrderInfo}</div>`;
|
||||||
|
|
||||||
this.value.items[this.activeWoItemIndex].units[
|
this.value.items[this.activeWoItemIndex].units[
|
||||||
this.activeItemIndex
|
this.activeItemIndex
|
||||||
|
|||||||
Reference in New Issue
Block a user