霸王餐,满减活动等问题修复

This commit is contained in:
2025-10-17 20:22:59 +08:00
parent d858a34698
commit 5d98b7efc2
7 changed files with 239 additions and 129 deletions

View File

@@ -158,6 +158,9 @@ const groupChanges = (type) => {
return;
}
const item = paymentMethodList.value.find((v) => v.type == type);
console.log("groupChanges", item);
console.log("props.disablePayType", props.disablePayType);
if (item && returnDisabled(item)) {
uni.showToast({
title: "当前支付方式不可用",
@@ -170,7 +173,7 @@ const groupChanges = (type) => {
// }
radiovalue.value = type;
let name = paymentMethodName.value[type - 1].name;
console.log('emit:groupChange',paymentMethodName.value[type - 1]);
emits("groupChange", paymentMethodName.value[type - 1]);
};