修改门诊挂号和费用支付上的费用性质不一致的问题,并且将解决无法收费的问题

This commit is contained in:
Auora
2025-11-05 14:09:06 +08:00
committed by wzk
parent e42d990304
commit 41791c9ccc
5 changed files with 47 additions and 8 deletions

View File

@@ -395,7 +395,7 @@
/>
<el-table-column label="年龄" align="center" key="age" prop="age" width="120">
<template #default="scope">
{{ scope.row.age ? `${scope.row.age}` : '-' }}
{{ scope.row.age ? `${scope.row.age}` : '-' }}
</template>
</el-table-column>
<el-table-column
@@ -551,6 +551,8 @@
:transformedData="transformedData"
:chrgBchno="chrgBchno"
:registerBusNo="registerBusNo"
:feeType="(patientInfo && patientInfo.medfeePaymtdCode) || (form && form.value && form.value.contractNo) || ''"
:medfee_paymtd_code="medfee_paymtd_code"
/>
<RefundDialog
:open="openRefundDialog"
@@ -1097,6 +1099,7 @@ function handleAdd() {
console.log(transformedData, 'transformedData门诊挂号');
chargeItemIdList.value = [];
patientInfo.value.patientId = form.value.patientId;
patientInfo.value.medfeePaymtdCode = form.value.contractNo; // 设置费用性质
proxy.$refs['outpatientRegistrationRef'].validate((valid) => {
if (valid) {
readCardLoading.value = true;
@@ -1107,7 +1110,10 @@ function handleAdd() {
addOutpatientRegistration(transformedData.value)
.then((res) => {
if (res.code == 200) {
// proxy.$modal.msgSuccess('挂号成功');
console.log('挂号成功,返回数据:', res.data);
// 立即刷新列表,确保挂号信息显示在当日已挂号列表中
getList();
chrgBchno.value = res.data.chrgBchno;
registerBusNo.value = res.data.busNo;
totalAmount.value = res.data.psnCashPay;