diff --git a/src/views/tool/Instead/components/dialogpackage.vue b/src/views/tool/Instead/components/dialogpackage.vue index 67564e7..755f04a 100644 --- a/src/views/tool/Instead/components/dialogpackage.vue +++ b/src/views/tool/Instead/components/dialogpackage.vue @@ -45,9 +45,14 @@ export default { }, methods: { toggleSelection() { - this.$refs.refdialogpackagetable.forEach((a) => { - a.clearSelection(); - }) + try { + this.$refs.refdialogpackagetable.forEach((a) => { + a.clearSelection(); + }) + this.show = false + } catch (error) { + + } }, handleSelectionChange(val, index) { try { @@ -73,7 +78,6 @@ export default { }) } catch (error) { } this.multipleSelection = [] - console.log(item) // 不用选套餐 if (item.groupType == 0) { this.$emit("dialogpackageconfirm", this.listdata, [item.proGroupVo[0].goods]);