This commit is contained in:
魏啾
2024-12-10 18:30:32 +08:00
2 changed files with 18 additions and 8 deletions

View File

@@ -45,9 +45,14 @@ export default {
}, },
methods: { methods: {
toggleSelection() { toggleSelection() {
try {
this.$refs.refdialogpackagetable.forEach((a) => { this.$refs.refdialogpackagetable.forEach((a) => {
a.clearSelection(); a.clearSelection();
}) })
this.show = false
} catch (error) {
}
}, },
handleSelectionChange(val, index) { handleSelectionChange(val, index) {
try { try {
@@ -73,6 +78,11 @@ export default {
}) })
} catch (error) { } } catch (error) { }
this.multipleSelection = [] this.multipleSelection = []
// 不用选套餐
if (item.groupType == 0) {
this.$emit("dialogpackageconfirm", this.listdata, [item.proGroupVo[0].goods]);
return false;
}
this.disabledshow = true this.disabledshow = true
console.log(this.listdata, this.multipleSelection); console.log(this.listdata, this.multipleSelection);
this.show = true; this.show = true;