Fix issue with CLIN changes not updating funding total
This commit is contained in:
parent
2435f91b13
commit
951ef9212d
@ -13,10 +13,11 @@ export default {
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
handleFieldChange: function(event) {
|
handleFieldChange: function(event) {
|
||||||
const { name, valid, parent_uid } = event
|
const { value, name, valid, parent_uid, watch } = event
|
||||||
if (typeof this[name] !== undefined) {
|
if (typeof this.fields[name] !== undefined) {
|
||||||
|
this[name] = value
|
||||||
this.fields[name] = valid
|
this.fields[name] = valid
|
||||||
if (event['parent_uid'] === this._uid || event['watch']) {
|
if (parent_uid === this._uid || watch) {
|
||||||
this.changed = true
|
this.changed = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user