Merge branch 'wwz' of gitee.com:shaanxi-super-shopkeeper_1/cashierdesktop into gyq

This commit is contained in:
gyq 2024-03-16 14:30:12 +08:00
commit 56e28681f6
2 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<div class="demo_tabs_box">
<div class="demo_tabs_boxitem" v-for="(item, index) in ordereData.list" :key="index"
@click="clickitemboxshow(item)">
<!-- <div class="demo_tabs_boxitem_oneyt" v-if="item.status == 'refund'">已退款</div> -->
<!-- <div class="demo_tabs_boxitem_oneyt" v-if="item.status == 'refund' && item.orderType == 'return'">已退款</div> -->
<div class="demo_tabs_boxitem_one">
<div class=""

View File

@ -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) {