From ee774e4ec21cbab2ad2091b006467706cf0fac20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=8E=E4=BD=97?= Date: Tue, 2 Jun 2026 11:01:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(#617):=20=E9=A2=84=E7=BA=A6=E7=AD=BE?= =?UTF-8?q?=E5=88=B0=E6=8C=82=E5=8F=B7=E8=B4=B9=E7=94=A8=E6=80=A7=E8=B4=A8?= =?UTF-8?q?=E7=A1=AC=E7=BC=96=E7=A0=81=E4=B8=BA=E8=87=AA=E8=B4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因:accountFormData.contractNo 硬编码为 '0000'(自费), 没有使用用户在表单中选择的费用性质。 修复: - registrationParam.accountFormData.contractNo 改用 form.value.contractNo - 移除签到后覆盖 form.value.contractNo = '0000' 的逻辑 --- .../src/views/charge/outpatientregistration/index.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue b/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue index aedeac03b..bb4f4c231 100755 --- a/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue +++ b/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue @@ -2152,7 +2152,7 @@ async function confirmCheckIn() { accountFormData: { patientId: realPatientId, typeCode: 1, // 个人现金账户 - contractNo: '0000', // 默认自费 + contractNo: form.value.contractNo || '0000', // 使用用户选择的费用性质,默认自费 }, chargeItemFormData: { patientId: realPatientId, @@ -2177,8 +2177,7 @@ async function confirmCheckIn() { healthcareName: service.name || '', }; - // 同步设置 form 的 contractNo,ChargeDialog 的 feeType 会读取它 - form.value.contractNo = '0000'; + // 保留用户选择的 contractNo,ChargeDialog 的 feeType 会读取它 // 5. 调用预结算接口(reg-pre-pay) const res = await addOutpatientRegistration(registrationParam);