Fix Bug #492: 【门诊手术安排】关闭"手术计费"主弹窗后,项目字典选择列表依然残留悬浮在界面上
在 prescriptionlist 组件中新增 closeAllPopovers 方法,关闭手术计费弹窗时 先关闭所有行悬浮的项目字典下拉弹窗,避免主弹窗关闭后残留 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -1146,7 +1146,13 @@ function calculateTotalPrice(row, index) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
defineExpose({ getListInfo });
|
function closeAllPopovers() {
|
||||||
|
prescriptionList.value.forEach(row => {
|
||||||
|
row.showPopover = false;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
defineExpose({ getListInfo, closeAllPopovers });
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|||||||
Reference in New Issue
Block a user