|
|
@@ -196,6 +196,8 @@
|
|
|
</template>
|
|
|
</el-dropdown>
|
|
|
|
|
|
+ <el-button type="success" icon="RefreshRight" @click="rcvrcalcost"> 费用接收重算</el-button>
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 传染病上报 -->
|
|
|
@@ -241,6 +243,7 @@ import OutpatientAppointments
|
|
|
from "@/views/hospitalization/zhu-yuan-yi-sheng/yi-zhu-lu-ru/components/OutpatientAppointments.vue";
|
|
|
import OneClickStop from "@/views/hospitalization/zhu-yuan-yi-sheng/yi-zhu-lu-ru/components/OneClickStop.vue";
|
|
|
import XEUtils from 'xe-utils'
|
|
|
+import {getPatientInfo, receiveAndRecalculateCost} from "@/api/inpatient/patient";
|
|
|
|
|
|
const props = defineProps({
|
|
|
patientInfo: {
|
|
|
@@ -451,6 +454,13 @@ const oneClickStopOpen = () => {
|
|
|
oneClickStopDialog.value = true
|
|
|
}
|
|
|
|
|
|
+const rcvrcalcost = async () => {
|
|
|
+ if (youWuXuanZheHuanZhe()) return
|
|
|
+ let {inpatientNo, admissTimes, ledgerSn, admissDate} = huanZheXinXi.value
|
|
|
+ await receiveAndRecalculateCost({inpatientNo, admissTimes, ledgerSn, admissDate})
|
|
|
+ huanZheXinXi.value = await getPatientInfo(patNo)
|
|
|
+}
|
|
|
+
|
|
|
onMounted(async () => {
|
|
|
|
|
|
yzMitt.on('queryYz', (val) => {
|