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);