This commit is contained in:
魏啾 2024-03-16 14:40:50 +08:00
parent 56e28681f6
commit 5e3d3c91f1
1 changed files with 3 additions and 7 deletions

View File

@ -207,7 +207,7 @@
</div>
<div class="recharge_footer_itemright_botton_boxtow">
<el-button type="primary" style="width: 100%; height: 100%;" :loading="buttonloading"
@click="inputChanges">
@click="payreturnOrderclick">
<span v-if="!buttonloading">支付退回</span>
<span v-else>支付退回...</span>
</el-button>
@ -243,11 +243,7 @@ const handlerecharge = () => { //退单切换
const buttonloading = ref() //loading
const inputChanges = lodash.debounce(function () { //
payreturnOrderclick()
}, 500)
const payreturnOrderclick = async () => {
const payreturnOrderclick = lodash.debounce( async () => { //
buttonloading.value = true
if (refundamount.value == 0) {
buttonloading.value = false
@ -284,8 +280,8 @@ const payreturnOrderclick = async () => {
buttonloading.value = false
}
}, 500)
}
const print = async (e) => {
try {