2
0
mirror of https://github.com/frappe/books.git synced 2024-12-26 20:30:25 +00:00
books/ui/components/controls/Table.vue

28 lines
454 B
Vue
Raw Normal View History

2018-06-27 14:38:27 +00:00
<template>
<div class="form-group">
<model-table
:doctype="docfield.childtype"
:rows="value"
:disabled="disabled"
2018-06-27 14:38:27 +00:00
@update:rows="emitChange"
/>
</div>
</template>
<script>
import ModelTable from '../ModelTable';
import Base from './Base';
export default {
extends: Base,
components: {
ModelTable
},
methods: {
emitChange(rows, rowDoc) {
this.$emit('change', rows, rowDoc);
}
}
}
</script>