订单防抖
This commit is contained in:
@@ -102,7 +102,6 @@
|
||||
<!-- // -->
|
||||
<el-button @click="print('normal')" style="width: 45%;" type="">重打收銀打票</el-button>
|
||||
<el-button @click="print('one')" style="width: 45%;" type="">重打出品小票</el-button>
|
||||
<!--payreturnOrderclick @click="recharge = true" -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -208,7 +207,7 @@
|
||||
</div>
|
||||
<div class="recharge_footer_itemright_botton_boxtow">
|
||||
<el-button type="primary" style="width: 100%; height: 100%;" :loading="buttonloading"
|
||||
@click="payreturnOrderclick">
|
||||
@click="inputChanges">
|
||||
<span v-if="!buttonloading">支付退回</span>
|
||||
<span v-else>支付退回...</span>
|
||||
</el-button>
|
||||
@@ -244,6 +243,10 @@ const handlerecharge = () => { //退单切换
|
||||
|
||||
const buttonloading = ref() //loading
|
||||
|
||||
const inputChanges = lodash.debounce(function () { //搜索手机号
|
||||
payreturnOrderclick()
|
||||
}, 500)
|
||||
|
||||
const payreturnOrderclick = async () => {
|
||||
buttonloading.value = true
|
||||
if (refundamount.value == 0) {
|
||||
|
||||
Reference in New Issue
Block a user