From 00f68156527952c6809f368dc93d4c7412a93ff6 Mon Sep 17 00:00:00 2001 From: Hera Zhao Date: Tue, 14 Apr 2026 13:43:35 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AF=BC=E5=87=BAPDF=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20=E2=80=94=20volumeLabel=E7=BC=BAname=E5=8F=82=E6=95=B0?= =?UTF-8?q?=EF=BC=8C=E5=8D=95=E4=BB=B7=E5=88=97=E9=80=82=E9=85=8D=E5=8D=95?= =?UTF-8?q?=E4=BD=8D?= 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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/OilReference.vue b/frontend/src/views/OilReference.vue index fefc25f..3d72eac 100644 --- a/frontend/src/views/OilReference.vue +++ b/frontend/src/views/OilReference.vue @@ -843,8 +843,9 @@ function exportPDF() { const en = getEnglishName(name) const bp = meta.bottlePrice != null ? '¥' + meta.bottlePrice.toFixed(0) : '--' const rp = meta.retailPrice != null ? '¥' + meta.retailPrice.toFixed(0) : '--' - const vol = volumeLabel(meta.dropCount) - const ppd = oils.pricePerDrop(name) ? '¥' + oils.pricePerDrop(name).toFixed(2) : '--' + const vol = volumeLabel(meta.dropCount, name) + const unit = oilPriceUnit(name) + const ppd = oils.pricePerDrop(name) ? '¥' + oils.pricePerDrop(name).toFixed(2) + '/' + unit : '--' rows += ` ${name} ${en} @@ -876,7 +877,7 @@ function exportPDF() {

doTERRA 精油价目表 ${dateStr}

- + ${rows}
精油英文名会员价零售价容量单价/滴
精油英文名会员价零售价容量单价