594 【住院医生工作站-临床医嘱】开立需皮试药物时系统未弹出皮试确认框,且医嘱输入行“皮试”字段置灰只读无法手动编辑

This commit is contained in:
wangjian963
2026-06-08 11:19:34 +08:00
parent bfae31448c
commit 72ab38f5d0
2 changed files with 28 additions and 6 deletions

View File

@@ -71,7 +71,17 @@
/>
</el-form-item>
<span class="medicine-info"> 诊断{{ config.diagnosisName }} </span>
<span class="medicine-info"> 皮试{{ row.skinTestFlag_enumText }} </span>
<span class="medicine-info">
皮试
<el-select
v-model="row.skinTestFlag"
style="width: 70px"
size="small"
>
<el-option :value="1" label="是" />
<el-option :value="0" label="否" />
</el-select>
</span>
<span class="medicine-info"> 注射药品{{ row.injectFlag_enumText }} </span>
<span class="total-amount">
总金额{{ row.totalPrice ? Number(row.totalPrice).toFixed(2) + ' 元' : '0.00 元' }}

View File

@@ -332,14 +332,16 @@
<span v-if="!scope.row.isEdit">
{{ scope.row.skinTestFlag_enumText || '-' }}
</span>
<el-checkbox
<el-select
v-else
v-model="scope.row.skinTestFlag"
:true-value="true"
:false-value="0"
style="width: 80px"
size="small"
@click.stop
>
</el-checkbox>
<el-option :value="1" label="是" />
<el-option :value="0" label="否" />
</el-select>
</template>
</vxe-column>
<vxe-column title="停嘱医生" align="center" field="stopUserName" width="120">
@@ -1181,12 +1183,22 @@ function selectAdviceBase(key, row) {
// 用户点击"是",设置皮试标志为"是"
prescriptionList.value[rowIndex.value].skinTestFlag = 1;
prescriptionList.value[rowIndex.value].skinTestFlag_enumText = '是';
expandOrder.value = [currentUniqueKey];
const expandRow = filterPrescriptionList.value.find(item => item.uniqueKey === currentUniqueKey);
if (expandRow && prescriptionRef.value?.setRowExpand) {
prescriptionRef.value.setRowExpand([expandRow], true);
}
expandOrderAndFocus(currentUniqueKey, row);
})
.catch((action) => {
// 用户点击"否",设置皮试标志为"否"
prescriptionList.value[rowIndex.value].skinTestFlag = 0;
prescriptionList.value[rowIndex.value].skinTestFlag_enumText = '否';
expandOrder.value = [currentUniqueKey];
const expandRow = filterPrescriptionList.value.find(item => item.uniqueKey === currentUniqueKey);
if (expandRow && prescriptionRef.value?.setRowExpand) {
prescriptionRef.value.setRowExpand([expandRow], true);
}
expandOrderAndFocus(currentUniqueKey, row);
});
} else {