优化
This commit is contained in:
@@ -207,7 +207,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="recharge_footer_itemright_botton_boxtow">
|
<div class="recharge_footer_itemright_botton_boxtow">
|
||||||
<el-button type="primary" style="width: 100%; height: 100%;" :loading="buttonloading"
|
<el-button type="primary" style="width: 100%; height: 100%;" :loading="buttonloading"
|
||||||
@click="inputChanges">
|
@click="payreturnOrderclick">
|
||||||
<span v-if="!buttonloading">支付退回</span>
|
<span v-if="!buttonloading">支付退回</span>
|
||||||
<span v-else>支付退回...</span>
|
<span v-else>支付退回...</span>
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -243,11 +243,7 @@ const handlerecharge = () => { //退单切换
|
|||||||
|
|
||||||
const buttonloading = ref() //loading
|
const buttonloading = ref() //loading
|
||||||
|
|
||||||
const inputChanges = lodash.debounce(function () { //搜索手机号
|
const payreturnOrderclick = lodash.debounce( async () => { //搜索手机号
|
||||||
payreturnOrderclick()
|
|
||||||
}, 500)
|
|
||||||
|
|
||||||
const payreturnOrderclick = async () => {
|
|
||||||
buttonloading.value = true
|
buttonloading.value = true
|
||||||
if (refundamount.value == 0) {
|
if (refundamount.value == 0) {
|
||||||
buttonloading.value = false
|
buttonloading.value = false
|
||||||
@@ -284,8 +280,8 @@ const payreturnOrderclick = async () => {
|
|||||||
buttonloading.value = false
|
buttonloading.value = false
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}, 500)
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
const print = async (e) => {
|
const print = async (e) => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user