This commit is contained in:
gyq
2025-12-15 16:56:39 +08:00
5 changed files with 416 additions and 13 deletions

View File

@@ -163,7 +163,7 @@ const radiovalue = defineModel({
watch(
() => props.disablePayType,
(newval) => {
console.log('props.disablePayType',newval)
const canUsePayType = paymentMethodList.value.filter((item) => {
return !newval.includes(item.name);
});
@@ -195,9 +195,12 @@ const groupChanges = (type) => {
// return;
// }
radiovalue.value = item;
emits("groupChange", paymentMethodName.value[type - 1]);
};
watch(()=> radiovalue.value.type,(newval)=>{
emits("groupChange", radiovalue.value);
})
// 去充值
const goRecharge = () => {
if (props.disablePayType.includes("余额支付")) {