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