|
|
@@ -208,6 +208,7 @@
|
|
|
type: 'warning',
|
|
|
message: '请先获取账单,再确认收款'
|
|
|
})
|
|
|
+ this.btnLoading = false
|
|
|
return
|
|
|
}
|
|
|
if (sumMoeny <= 0) {
|
|
|
@@ -229,7 +230,6 @@
|
|
|
this.handleGetMoney()
|
|
|
})
|
|
|
}
|
|
|
- this.btnLoading = false
|
|
|
},
|
|
|
handleGetMoney () {
|
|
|
let idlist = ''
|
|
|
@@ -261,9 +261,11 @@
|
|
|
type: 'warning',
|
|
|
message: res.data.message
|
|
|
})
|
|
|
+ this.btnLoading = false
|
|
|
}
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
+ this.btnLoading = false
|
|
|
})
|
|
|
},
|
|
|
handleGetMoneyAgain () {
|
|
|
@@ -281,7 +283,7 @@
|
|
|
payDate: new Date(),
|
|
|
payMode: '银行现金'
|
|
|
}
|
|
|
- //下面调用接口修改状态
|
|
|
+ // 下面调用接口修改状态
|
|
|
api.receiveMoneyAgain(params, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
this.initDatas()
|