This commit is contained in:
PQZ 2025-04-29 17:02:08 +08:00
parent 13e376da89
commit dfd4308b9f
2 changed files with 31 additions and 4 deletions

View File

@ -327,7 +327,6 @@
title: e
});
})
},
/**
* 初始化数据

View File

@ -32,9 +32,9 @@
</view>
</view>
<view v-if="ifHasWaiting" class="daiban-box">
<view class="daiban-dom">
<view class="daiban-dom" @click="repay()">
<uni-icons type="chat-filled" size="18" style="padding-right: 10rpx;"></uni-icons>
您有一笔<text>{{ wayOrder.points }}</text>积分的提现订单请及时处理
您有一笔<text>{{ wayOrder.points }}</text>积分的提现订单请及时处理
<uni-icons type="right" size="18" style="padding-left: 10rpx;"></uni-icons>
</view>
</view>
@ -157,7 +157,7 @@
this.ifHasWaiting = true
} else {
this.wayOrder = null
// this.ifHasWaiting = false
this.ifHasWaiting = false
}
} else {
this.ifHasWaiting = false
@ -205,6 +205,34 @@
this.$refs.inputDialog.open()
},
repay(){
//
entPay(this.wayOrder.orderNo).then(payS => {
uni.hideLoading()
if (wx.canIUse('requestMerchantTransfer')) {
wx.requestMerchantTransfer({
mchId: payS.config.mchId,
appId: payS.config.appId,
package: payS.runData.packageInfo,
success: (res) => {
// res.err_msgok
console.log('success:', res);
this.initWayOrder()
this.initData()
},
fail: (res) => {
console.log('fail:', res);
},
});
} else {
wx.showModal({
content: '你的微信版本过低,请更新至最新版本。',
showCancel: false,
});
}
})
},
dialogInputConfirm(val) {
if (val) {
uni.showLoading({