解决当日已挂号页面费用性质不一致问题
This commit is contained in:
@@ -438,7 +438,8 @@
|
||||
align="center"
|
||||
key="contractName"
|
||||
prop="contractName"
|
||||
/>
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column label="挂号金额" align="center" key="totalPrice" prop="totalPrice">
|
||||
<template #default="scope">
|
||||
<span>
|
||||
@@ -571,6 +572,8 @@
|
||||
:patientInfo="patientInfo"
|
||||
:paymentId="paymentId"
|
||||
:chargeItemIds="chargeItemIdList"
|
||||
:feeType="(patientInfo && patientInfo.medfeePaymtdCode) || (form && form.value && form.value.contractNo) || ''"
|
||||
:medfee_paymtd_code="medfee_paymtd_code"
|
||||
/>
|
||||
<ReprintDialog
|
||||
:open="openReprintDialog"
|
||||
@@ -606,7 +609,7 @@ import { invokeYbPlugin } from '@/api/public';
|
||||
import patientInfoDialog from './components/patientInfoDialog';
|
||||
import PatientAddDialog from './components/patientAddDialog';
|
||||
import patientList from './components/patientList';
|
||||
import { nextTick, ref } from 'vue';
|
||||
import { nextTick, ref, onMounted, onUnmounted } from 'vue';
|
||||
import ChargeDialog from './components/chargeDialog.vue';
|
||||
import RefundDialog from './components/refundDialog.vue';
|
||||
import ReprintDialog from './components/reprintDialog.vue';
|
||||
@@ -771,6 +774,15 @@ onUnmounted(() => {
|
||||
|
||||
const { queryParams, form, rules } = toRefs(data);
|
||||
|
||||
/** 根据contractNo获取费用性质名称 */
|
||||
function getFeeTypeName(contractNo) {
|
||||
if (!contractNo || !medfee_paymtd_code || !Array.isArray(medfee_paymtd_code)) {
|
||||
return '';
|
||||
}
|
||||
const dictItem = medfee_paymtd_code.find(item => item.value === contractNo);
|
||||
return dictItem ? dictItem.label : '';
|
||||
}
|
||||
|
||||
/** 初期所用数据查询 */
|
||||
function getInitData() {
|
||||
getInit().then((response) => {
|
||||
|
||||
Reference in New Issue
Block a user