Fix Bug #462: [目录管理-诊疗目录] 编辑弹窗中"所需标本"下拉框数据加载失败,显示为"无数据"
根因:useDict 调用中已传入 'specimen_code',但解构时遗漏了 specimen_code 变量, 导致模板中 v-for 遍历的 specimen_code 为 undefined,下拉框显示"无数据"。 修复:在解构语句中补充 specimen_code。
This commit is contained in:
@@ -376,7 +376,7 @@ import MedicineList from '../components/medicineList.vue';
|
|||||||
import {getCurrentInstance, nextTick, watch} from 'vue';
|
import {getCurrentInstance, nextTick, watch} from 'vue';
|
||||||
|
|
||||||
const { proxy } = getCurrentInstance();
|
const { proxy } = getCurrentInstance();
|
||||||
const { unit_code, med_chrgitm_type, fin_type_code, activity_category_code, chrgitm_lv } =
|
const { specimen_code, unit_code, med_chrgitm_type, fin_type_code, activity_category_code, chrgitm_lv } =
|
||||||
proxy.useDict(
|
proxy.useDict(
|
||||||
'specimen_code',
|
'specimen_code',
|
||||||
'unit_code',
|
'unit_code',
|
||||||
|
|||||||
Reference in New Issue
Block a user