This commit is contained in:
2021-07-08 19:16:46 +00:00
parent d82c47e51c
commit 7378a5b853
2 changed files with 25 additions and 2 deletions

View File

@@ -127,6 +127,26 @@
></gz-pick-list>
</v-col>
<v-col
v-if="form().showMe(this, 'UnitWarrantyInfo')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-card>
<v-card-title>{{ $ay.t("UnitWarrantyInfo") }}</v-card-title>
<v-card-text>
{{ warrantyInfo }}
</v-card-text>
<v-card-actions>
<v-btn color="primary" text @click="getWarrantyInfo">{{
$ay.t("Search")
}}</v-btn>
</v-card-actions>
</v-card>
</v-col>
<v-col v-if="form().showMe(this, 'WorkOrderItemUnitNotes')" cols="12">
<v-textarea
v-model="
@@ -302,7 +322,8 @@ export default {
availableBulkUnits: [],
selectedBulkUnits: [],
selectedBulkUnitTags: [],
bulkUnitTableHeaders: []
bulkUnitTableHeaders: [],
warrantyInfo: null
};
},
props: {
@@ -352,6 +373,7 @@ export default {
}
},
methods: {
getWarrantyInfo() {},
showBulkUnitsDialog() {
if (this.bulkUnitTableHeaders.length == 0) {
//init bulk table headers

View File

@@ -2174,7 +2174,8 @@ async function fetchTranslatedText(vm) {
"AddMultipleUnits",
"CopyToWorkOrder",
"WorkOrderConvertScheduledUserToLabor",
"AppendTasks"
"AppendTasks",
"UnitWarrantyInfo"
]);
}