fix(medicine): 移除未使用的响应式变量并修复会诊确认逻辑

- 移除了 medicineDialog.vue 中未使用的 supplierListOptions、statusRestrictedOptions、
partAttributeEnumOptions 和 tempOrderSplitPropertyOptions 响应式变量
- 修复了 consultationconfirmation/index.vue 中加载会诊意见时缺少
consultationId 验证的问题
- 防止在会诊 ID 不存在时尝试加载会诊意见导致的潜在错误
This commit is contained in:
2026-06-17 15:23:22 +08:00
parent 808c0305c9
commit 5eb9b62d32
2 changed files with 1 additions and 5 deletions

View File

@@ -1020,10 +1020,6 @@ const statusFlagOptions = ref(undefined);
const domainEnumOptions = ref(undefined);
const deptOptions = ref(undefined); // 部门树选项
const locationOptions = ref(undefined); // 地点树选项
const supplierListOptions = ref(undefined); // 供应商列表选项
const statusRestrictedOptions = ref(undefined); // 权限级别选项
const partAttributeEnumOptions = ref(undefined); // 部位属性选项
const tempOrderSplitPropertyOptions = ref(undefined); // 临时订单拆分属性选项
const activeName = ref('basic');
const data = reactive({
form: {},

View File

@@ -554,7 +554,7 @@ const handleRowChange = async (row) => {
currentRow.value = row
// 先加载会诊意见列表
if (row) {
if (row && row.consultationId) {
await loadConsultationOpinions(row.consultationId)
} else {
opinionList.value = []