This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user