fix: 单买成本移到全精油后面;配方名末尾阿拉伯数字转中文数字
Some checks failed
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 3s
PR Preview / test (pull_request) Successful in 5s
Test / e2e-test (push) Has been cancelled
PR Preview / deploy-preview (pull_request) Successful in 13s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-13 23:24:43 +00:00
parent ef87148872
commit 4dfe1b7bb4
2 changed files with 14 additions and 2 deletions

View File

@@ -77,18 +77,18 @@
<thead>
<tr>
<th class="th-name">配方名</th>
<th class="th-kit">单买</th>
<th v-for="ka in kitAnalysis" :key="ka.id" class="th-kit">{{ ka.name }}</th>
<th class="th-kit">单买</th>
</tr>
</thead>
<tbody>
<tr v-for="row in crossComparison" :key="row.id">
<td class="td-name">{{ row.name }}</td>
<td class="td-cost original">{{ fmtPrice(row.originalCost) }}</td>
<td v-for="ka in kitAnalysis" :key="ka.id" :class="row.costs[ka.id] != null ? 'td-kit-available' : 'td-kit-na'">
<template v-if="row.costs[ka.id] != null">{{ fmtPrice(row.costs[ka.id]) }}</template>
<template v-else><span class="na"></span></template>
</td>
<td class="td-cost original">{{ fmtPrice(row.originalCost) }}</td>
</tr>
</tbody>
</table>