This commit is contained in:
2021-02-19 20:18:32 +00:00
parent c96c0cb811
commit 80ad2201b7

View File

@@ -241,13 +241,13 @@
<template v-slot:top>
<span class="title">{{ $ay.t("PurchaseOrderItemList") }}</span>
</template>
<!-- <template v-slot:[`item.actions`]="{ item }">
<v-btn icon :href="item.url" v-if="item.url">
<v-icon small class="mr-2">
$ayiFileDownload
<template v-slot:[`item.actions`]="{ item }">
<v-btn icon @click="editItem(item)">
<v-icon>
$ayiEdit
</v-icon>
</v-btn>
</template> -->
</template>
</v-data-table>
</v-col>
@@ -569,6 +569,10 @@ export default {
value: "displayRequestWorkorder"
});
}
if (!vm.formState.readOnly) {
headers.push({ text: "", value: "actions" });
}
return headers;
},
itemList: function() {
@@ -660,6 +664,7 @@ export default {
}
},
methods: {
editItem: function(item) {},
canSave: function() {
return this.formState.valid && this.formState.dirty;
},