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() {
this.$refs.refdialogpackagetable.forEach((a) => { try {
a.clearSelection(); this.$refs.refdialogpackagetable.forEach((a) => {
}) 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;

View File

@@ -2039,7 +2039,7 @@ export default {
}, },
quansConfirm(e, goodsPayPriceMap) { quansConfirm(e, goodsPayPriceMap) {
console.log(e); console.log(e);
// this.createOrder.discount = 1; // this.createOrder.discount = 1;
this.points.selected = ""; this.points.selected = "";
e.map((v, index) => { e.map((v, index) => {
return { return {
@@ -3438,8 +3438,8 @@ export default {
}, },
reset() { reset() {
// this.goods.list = []; // this.goods.list = [];
this.isAllWaitCall=false; this.isAllWaitCall = false;
this.selQuan=[]; this.selQuan = [];
this.guazhangRen = ""; this.guazhangRen = "";
this.order.status = ""; this.order.status = "";
this.loading = false; this.loading = false;