fix edit payment issue

This commit is contained in:
yogesh_gohil
2019-11-20 15:15:52 +05:30
parent 41a543ea9c
commit f3ef51bffb

View File

@ -246,10 +246,10 @@ export default {
watch: {
customer (newValue) {
this.formData.user_id = newValue.id
this.invoice = null
this.formData.amount = 0
this.invoiceList = []
if (!this.isEdit) {
this.invoice = null
this.formData.amount = 0
this.invoiceList = []
this.fetchCustomerInvoices(newValue.id)
}
},