mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +00:00
Emit updateDoc event from FormLayout
This commit is contained in:
parent
610d592310
commit
2884c157ec
@ -66,6 +66,10 @@ export default {
|
|||||||
},
|
},
|
||||||
updateDoc(fieldname, value) {
|
updateDoc(fieldname, value) {
|
||||||
this.doc.set(fieldname, value);
|
this.doc.set(fieldname, value);
|
||||||
|
this.$emit('updateDoc', {
|
||||||
|
fieldname,
|
||||||
|
value
|
||||||
|
});
|
||||||
},
|
},
|
||||||
showSection(i) {
|
showSection(i) {
|
||||||
if (this.layoutConfig.paginated) {
|
if (this.layoutConfig.paginated) {
|
||||||
|
Loading…
Reference in New Issue
Block a user