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}
精油英文名会员价零售价容量单价/滴
精油英文名会员价零售价容量单价