From 8bc5d4597626a732e25677621634596f3b9d97ce Mon Sep 17 00:00:00 2001 From: Auora <14587305+auoraasd@user.noreply.gitee.com> Date: Wed, 22 Oct 2025 13:52:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=B9=B4=E9=BE=84=E7=9A=84?= =?UTF-8?q?=E2=80=9C=E5=B2=81=E2=80=9D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../outpatientregistration/components/patientAddDialog.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientAddDialog.vue b/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientAddDialog.vue index d5b18088..d1c0e1cc 100644 --- a/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientAddDialog.vue +++ b/openhis-ui-vue3/src/views/charge/outpatientregistration/components/patientAddDialog.vue @@ -379,7 +379,7 @@ function handleBirthDateChange() { age--; } - form.value.age = age + '岁'; + form.value.age = age; } } @@ -390,7 +390,7 @@ function handleAgeInput() { if (ageMatch) { const age = parseInt(ageMatch[0]); // 移除非数字字符,保留数字和可能的单位 - form.value.age = age + '岁'; + form.value.age = age ; // 计算出生日期 const today = new Date(); @@ -429,7 +429,7 @@ watch( age--; } - form.value.age = age + '岁'; + form.value.age = age ; } } );