From 5bc36003842c59c2ca6cc1f96d435449bc670f7b Mon Sep 17 00:00:00 2001 From: Hera Zhao Date: Thu, 16 Apr 2026 11:18:12 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=B2=BE=E6=B2=B9=E4=BB=B7=E7=9B=AE=20E?= =?UTF-8?q?xcel=20=E5=AF=BC=E5=87=BA=E8=A1=A5=E5=85=A8=E6=89=80=E6=9C=89?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 列:功效、使用方法、使用方式(香薰/涂抹/内用)、注意事项 Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/views/OilReference.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/OilReference.vue b/frontend/src/views/OilReference.vue index 060b6b4..d04a537 100644 --- a/frontend/src/views/OilReference.vue +++ b/frontend/src/views/OilReference.vue @@ -913,12 +913,15 @@ async function exportExcel() { '容量': vol, '单价': ppdNum ? `¥${ppdNum.toFixed(2)}/${unit}` : '', '功效': card?.effects || '', + '使用方法': card?.usage || '', + '使用方式': card?.method || '', + '注意事项': card?.caution || '', '状态': meta.isActive === false ? '下架' : '在售', }) } const ws = XLSX.utils.json_to_sheet(rows) - ws['!cols'] = [{ wch: 16 }, { wch: 28 }, { wch: 10 }, { wch: 10 }, { wch: 12 }, { wch: 16 }, { wch: 40 }, { wch: 8 }] + ws['!cols'] = [{ wch: 16 }, { wch: 28 }, { wch: 10 }, { wch: 10 }, { wch: 12 }, { wch: 16 }, { wch: 40 }, { wch: 40 }, { wch: 20 }, { wch: 24 }, { wch: 8 }] const wb = XLSX.utils.book_new() XLSX.utils.book_append_sheet(wb, ws, '精油价目表') XLSX.writeFile(wb, `精油价目表${dateStr}.xlsx`)