From c6421e15ecc9df14dbb2f29ab76a73ce7aa7f603 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期一, 25 十一月 2024 21:32:09 +0800
Subject: [PATCH] 预约小票 打印
---
src/views/ecg/appointment/AppointmentConfirm.vue | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/views/ecg/appointment/AppointmentConfirm.vue b/src/views/ecg/appointment/AppointmentConfirm.vue
index 3d5d74c..791bda5 100644
--- a/src/views/ecg/appointment/AppointmentConfirm.vue
+++ b/src/views/ecg/appointment/AppointmentConfirm.vue
@@ -28,8 +28,7 @@
<el-radio
v-for="dict in getIntDictOptions(DICT_TYPE.SYSTEM_USER_SEX)"
:key="dict.value"
- :value="dict.value"
- >
+ :value="dict.value">
{{ dict.label }}
</el-radio>
</el-radio-group>
@@ -137,7 +136,7 @@
const data = await AppointmentApi.queryAndCreateAppointmentByPatId(queryParams.patId) // 瀵瑰簲鏁版嵁搴撲腑 pat_id
console.info( data )
appointmentVOList.value = data
- if (null !== data) {
+ if (null !== data && data.length > 0) {
formData.value = data[0]
console.info( formData.value )
return
@@ -152,6 +151,7 @@
/** 閲嶇疆琛ㄥ崟 */
const resetForm = () => {
+ appointmentVOList.value.length=0;
formData.value = {
id: 0,
applyNo: "",
@@ -175,6 +175,7 @@
bookTimeslot: 9301030,
bookCheckType: checkTypeStore.getCheckTypeName(100),
paid: 0,
+ bookSeqNum: 0
}
formRef.value?.resetFields()
}
--
Gitblit v1.9.3