diff --git a/frontend/src/views/KitExport.vue b/frontend/src/views/KitExport.vue index 8b60eb2..d069c1b 100644 --- a/frontend/src/views/KitExport.vue +++ b/frontend/src/views/KitExport.vue @@ -267,9 +267,8 @@ async function exportExcel(mode) { const unit = oils.unitLabel(i.oil) return `${i.oil} ${i.drops}${unit}` }).join('、') - const vol = volumeLabel(r) ws.addRow([ - vol ? `${r.name}(${vol})` : r.name, + r.name, (r.tags || []).join('/'), ingredientStr, calcMaxTimes(r), @@ -288,9 +287,8 @@ async function exportExcel(mode) { for (const r of ka.recipes) { const price = getSellingPrice(r._id) const margin = calcMargin(r.kitCost, price) - const vol = volumeLabel(r) ws.addRow([ - vol ? `${r.name}(${vol})` : r.name, + r.name, calcMaxTimes(r), Number(r.kitCost.toFixed(2)), Number(r.originalCost.toFixed(2)), @@ -328,8 +326,7 @@ async function exportExcel(mode) { for (const row of crossComparison.value) { const price = getSellingPrice(row.id) - const vol = volumeLabel(row) - const vals = [vol ? `${row.name}(${vol})` : row.name] + const vals = [row.name] if (mode === 'full') vals.push((row.tags || []).join('/')) for (const ka of kitAnalysis.value) { const cost = row.costs[ka.id]