更新 WEB登记 自选项目 放到套餐的下面

wenjuan
鹿和sa0ChunLuyu 1 year ago
parent ba32ba269a
commit 06b9dce22c

@ -553,20 +553,6 @@
const item_table_ref = ref(false); const item_table_ref = ref(false);
const select_table_computed = computed(() => { const select_table_computed = computed(() => {
let items = [] let items = []
if (!!pay_info.value) {
if (!!pay_info.value.items_info) {
let group_items = pay_info.value.items_info.items
for (let i in group_items) {
for (let j in group_items[i].children) {
items.push({
...group_items[i].children[j],
group: group_items[i].keshi_name,
type: '自选'
})
}
}
}
}
if (!!pay_info.value) { if (!!pay_info.value) {
if (!!pay_info.value.combo_info) { if (!!pay_info.value.combo_info) {
let combo_items = pay_info.value.combo_info.items let combo_items = pay_info.value.combo_info.items
@ -581,6 +567,20 @@
} }
} }
} }
if (!!pay_info.value) {
if (!!pay_info.value.items_info) {
let group_items = pay_info.value.items_info.items
for (let i in group_items) {
for (let j in group_items[i].children) {
items.push({
...group_items[i].children[j],
group: group_items[i].keshi_name,
type: '自选'
})
}
}
}
}
return [ return [
...items, ...items,
] ]

Loading…
Cancel
Save