diff --git a/Laravel/public/tool/register.html b/Laravel/public/tool/register.html index 6202c05..2bab964 100644 --- a/Laravel/public/tool/register.html +++ b/Laravel/public/tool/register.html @@ -553,20 +553,6 @@ const item_table_ref = ref(false); const select_table_computed = computed(() => { 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.combo_info) { 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 [ ...items, ]