修复第一次进入结算页面支付方式按钮未显示文字问题

This commit is contained in:
2025-12-15 16:09:54 +08:00
parent 75f16170dd
commit eae0dd75f1
2 changed files with 6 additions and 3 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("余额支付")) {

View File

@@ -155,7 +155,7 @@
size: formData.form.size,
// status: formData.form.status,
shopId: formData.shopId,
id: formData.id
id: formData.id||''
})
}
if (res.totalPage == 0 || res.totalPage == 1 && res.totalRow <= 10) {