Fix Bug #540: 根因+修复方案摘要
This commit is contained in:
@@ -348,7 +348,8 @@ const adviceTypeList = computed(() => {
|
||||
return val === 3 || val === 4;
|
||||
}).map(item => ({
|
||||
label: item.label,
|
||||
value: parseInt(item.value)
|
||||
// 将前端字典值映射为后端SQL值: 耗材4→2, 诊疗3→3
|
||||
value: parseInt(item.value) === 4 ? 2 : parseInt(item.value)
|
||||
}));
|
||||
return [...filtered, { label: '全部', value: '' }];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user