mirror of
https://github.com/frappe/books.git
synced 2024-12-26 12:28:12 +00:00
ea441c240b
- Add Submit Buttons - Disable inputs in submitted form - Simplify FormLayout template
28 lines
454 B
Vue
28 lines
454 B
Vue
<template>
|
|
<div class="form-group">
|
|
<model-table
|
|
:doctype="docfield.childtype"
|
|
:rows="value"
|
|
:disabled="disabled"
|
|
@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>
|