This commit is contained in:
Your Name
2026-05-16 16:05:29 +08:00
parent 7ba9dabdb4
commit 15b4339c90
@@ -2346,7 +2346,7 @@
<p v-if="rxPharmacyRemarkText" class="rx-text-warn">
药房备注{{ rxPharmacyRemarkText }}
</p>
<p v-if="rxOutPelletText" class="rx-text-warn">
<p v-if="rxOutPelletText && prescriptionViewData?.prescription_type !== '饮片'" class="rx-text-warn">
出丸{{ rxOutPelletText }}
</p>
</div>
@@ -5193,6 +5193,8 @@ const rxTypeText = computed(() => {
const v = prescriptionViewData.value as any
if (!v) return '—'
const t = v.prescription_type || '浓缩水丸'
/** 饮片不匹配「丸|散|膏|片」,避免误显示「浓缩丸-饮片」;类型字段直接展示饮片 */
if (t === '饮片') return '饮片'
return /丸|散|膏|片/.test(t) ? `浓缩丸-${t}` : t
})