问题修复
This commit is contained in:
@@ -15,12 +15,12 @@
|
||||
<view class="name"> {{ item.name }} </view>
|
||||
<view class="method_list_bom" v-if="item.type == 1">
|
||||
<text class="balance">
|
||||
当前余额¥{{orderVIP?orderVIP.amount:0}}</text>
|
||||
当前余额¥{{orderVIP?(orderVIP.amount||0):0}}</text>
|
||||
<text class="topUpNow" @click="goRecharge">去充值</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<up-radio activeColor="#E8AD7B" icon-size="18" size="18" :name="item.type">
|
||||
<up-radio :disabled="returnDisabled(item)" activeColor="#E8AD7B" icon-size="18" size="18" :name="item.type">
|
||||
</up-radio>
|
||||
</view>
|
||||
</view>
|
||||
@@ -75,6 +75,11 @@
|
||||
return false
|
||||
}
|
||||
}
|
||||
watch(()=>props.disablePayType,(newval)=>{
|
||||
console.log('watch:props.disablePayType',newval);
|
||||
},{
|
||||
immediate:true
|
||||
})
|
||||
|
||||
const orderVIP = ref(null)
|
||||
const emits = defineEmits(['customevent', 'groupChange']);
|
||||
@@ -145,10 +150,11 @@
|
||||
}
|
||||
const item=paymentMethodList.value.find(v=>v.type==type)
|
||||
if(item&&returnDisabled(item)){
|
||||
return uni.showToast({
|
||||
uni.showToast({
|
||||
title:"当前支付方式不可用",
|
||||
icon:'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
// if (props.payAmount <= 0 && type != 1) {
|
||||
// return;
|
||||
|
||||
Reference in New Issue
Block a user