mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +00:00
27 lines
427 B
Vue
27 lines
427 B
Vue
|
<template>
|
||
|
<div class="form-group">
|
||
|
<model-table
|
||
|
:doctype="docfield.childtype"
|
||
|
:rows="value"
|
||
|
@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>
|