This commit is contained in:
2026-04-28 16:37:10 +08:00
parent 893a223e0e
commit 0d0bf8f81e
4 changed files with 39 additions and 9 deletions

View File

@@ -22,7 +22,8 @@ const formData = ref({
const availableReportTypes = computed(() => {
if (!productConfig.value?.length)
return []
return productConfig.value
return [...productConfig.value]
.sort((a, b) => Number(a.product_id) - Number(b.product_id))
.map(item => ({
id: item.product_id,
label: item.product_name || `产品${item.product_id}`,