From 7076e66020ced367aa587f1459611cac36df505e Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 21 十一月 2024 18:09:37 +0800
Subject: [PATCH] his id 转 字符串

---
 src/views/ecg/appointment/CheckItemPanel.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/ecg/appointment/CheckItemPanel.vue b/src/views/ecg/appointment/CheckItemPanel.vue
index ef4a19d..7e72de7 100644
--- a/src/views/ecg/appointment/CheckItemPanel.vue
+++ b/src/views/ecg/appointment/CheckItemPanel.vue
@@ -96,8 +96,8 @@
   panel.addPrintText({ options: { width: 140, height: 12, top: 44, left: 20, title: bookTime, textAlign: 'center', fontSize: 8 } });
   //panel.addPrintText({ options: { width: 140, height: 12, top: 58, left: 20, title: props.appointment.patId, textAlign: 'center', fontSize: 8 } });
   //panel.addPrintText({ options: { width: 140, height: 12, top: 72, left: 20, title: props.appointment.patMobile, textAlign: 'center', fontSize: 8, fontFamily: '寰蒋闆呴粦',  fontWeight: '700', } });
-  const _bookSeqNum = bookSeqNum.value + ''  // 锛侊紒闇�瑕佸瓧绗︿覆
-  panel.addPrintText({ options: { width: 140, height: 12, top: 62, left: 20, title: _bookSeqNum, textAlign: 'center', fontSize: 16, fontFamily: '寰蒋闆呴粦',  fontWeight: '900' } });
+  const _bookSeqNum = bookSeqNum.value??props.appointment?.bookSeqNum
+  panel.addPrintText({ options: { width: 140, height: 12, top: 62, left: 20, title: ''+_bookSeqNum, textAlign: 'center', fontSize: 16, fontFamily: '寰蒋闆呴粦',  fontWeight: '900' } });
 
 //鎵撳嵃
   if (undefined === printMode)
@@ -129,7 +129,7 @@
           :disabled="item.queueVipNo === item.queueVipFull"
       />
     </el-select>
-    {{bookSeqNum}}
+    {{bookSeqNum??appointment.bookSeqNum}}
     <el-divider/>
     <el-button @click="_confirmAppointment" :type="isCurrentDay(appointment.bookDate)?'primary':'warning'"><Icon icon="ep:list" class="mr-5px" /> 鎺掗槦 </el-button>
     <el-button @click="_printNote(8)"><Icon icon="ep:printer" class="mr-5px" /> 鎵撳嵃鍙� </el-button>

--
Gitblit v1.9.3