mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 12:01:57 +08:00
error when adding payment (#1099)
Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
This commit is contained in:
parent
849a93427a
commit
bec6d41b44
@ -613,7 +613,7 @@ export default {
|
|||||||
this.$store.commit('updateValueOfField', {
|
this.$store.commit('updateValueOfField', {
|
||||||
containerUuid: this.containerUuid,
|
containerUuid: this.containerUuid,
|
||||||
columnName: 'PayAmt',
|
columnName: 'PayAmt',
|
||||||
value: value
|
value: this.round(value)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
convertAllPayment(value) {
|
convertAllPayment(value) {
|
||||||
@ -627,7 +627,7 @@ export default {
|
|||||||
this.$store.commit('updateValueOfField', {
|
this.$store.commit('updateValueOfField', {
|
||||||
containerUuid: this.containerUuid,
|
containerUuid: this.containerUuid,
|
||||||
columnName: 'PayAmt',
|
columnName: 'PayAmt',
|
||||||
value: this.pending
|
value: this.round(this.pending)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -636,13 +636,13 @@ export default {
|
|||||||
this.$store.commit('updateValueOfField', {
|
this.$store.commit('updateValueOfField', {
|
||||||
containerUuid: this.containerUuid,
|
containerUuid: this.containerUuid,
|
||||||
columnName: 'PayAmt',
|
columnName: 'PayAmt',
|
||||||
value: this.pending / value.divideRate
|
value: this.round(this.pending / value.divideRate)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$store.commit('updateValueOfField', {
|
this.$store.commit('updateValueOfField', {
|
||||||
containerUuid: this.containerUuid,
|
containerUuid: this.containerUuid,
|
||||||
columnName: 'PayAmt',
|
columnName: 'PayAmt',
|
||||||
value: this.pending
|
value: this.round(this.pending)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -817,7 +817,7 @@ export default {
|
|||||||
this.$store.commit('updateValueOfField', {
|
this.$store.commit('updateValueOfField', {
|
||||||
containerUuid: this.containerUuid,
|
containerUuid: this.containerUuid,
|
||||||
columnName: 'PayAmt',
|
columnName: 'PayAmt',
|
||||||
value: this.pending
|
value: this.round(this.pending)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
this.defaultValueCurrency()
|
this.defaultValueCurrency()
|
||||||
@ -846,7 +846,7 @@ export default {
|
|||||||
this.$store.commit('updateValueOfField', {
|
this.$store.commit('updateValueOfField', {
|
||||||
containerUuid: this.containerUuid,
|
containerUuid: this.containerUuid,
|
||||||
columnName: 'PayAmt',
|
columnName: 'PayAmt',
|
||||||
value: this.pending
|
value: this.round(this.pending)
|
||||||
})
|
})
|
||||||
this.defaultValueCurrency()
|
this.defaultValueCurrency()
|
||||||
this.$store.commit('currencyDivideRateCollection', 1)
|
this.$store.commit('currencyDivideRateCollection', 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user