|
@@ -51,7 +51,6 @@ import {nullPatient} from '@/utils/validate'
|
|
|
import {baseinfo} from '@/data/inpatient'
|
|
|
import {getPatientFeeList, getAppliedItems, applyHospitalApproval} from '@/api/medical-insurance/hospital-approval.js'
|
|
|
import {computed, nextTick, onActivated, onDeactivated, onMounted, Ref, ref, watch} from "vue";
|
|
|
-import {visibleWindowSize} from '@/utils/window-size'
|
|
|
import {ElMessage} from "element-plus";
|
|
|
|
|
|
interface FeeItem {
|
|
@@ -157,15 +156,9 @@ watch(
|
|
|
() => patient.value.inpatientNo,
|
|
|
() => {
|
|
|
if (activated.value) {
|
|
|
- if (patient.value.inpatientNo && patient.value.mdtrtId) {
|
|
|
+ if (patient.value.inpatientNo) {
|
|
|
fetchPatientFees()
|
|
|
} else {
|
|
|
- ElMessage({
|
|
|
- message: '患者未进行医保登记。',
|
|
|
- type: 'warning',
|
|
|
- duration: 2500,
|
|
|
- showClose: true
|
|
|
- })
|
|
|
clearPatientFees()
|
|
|
}
|
|
|
}
|