147 门诊医生站》医嘱TAB页面:一次性静脉采血器为耗材系统且自动转成中成药类型,点击【保存】报错。

This commit is contained in:
Ranyunqiao
2026-03-16 10:05:55 +08:00
parent f3d011951b
commit bba63d2f1b
6 changed files with 251 additions and 25 deletions

View File

@@ -103,7 +103,7 @@ const medicalInsuranceLevelMap = {
// 获取药品分类名称 - 使用系统统一的数据字典
function getCategoryName(row) {
if (!row) return '-';
if (row.adviceType === 1) { // 药品类型
// 优先使用系统统一的药品分类数据字典
if (med_category_code.value && med_category_code.value.length > 0) {
@@ -120,7 +120,7 @@ function getCategoryName(row) {
}
return '-';
} else if (row.adviceType === 2) { // 耗材类型
} else if (row.adviceType === 2 || row.adviceType === 4) { // 🔧 Bug Fix: 耗材类型2 或 4
return '耗材';
} else if (row.adviceType === 3) { // 诊疗类型
// 对于诊疗类型activityType 就是 category_code 的整数值,使用 activityType_dictText 显示