csx 5 лет назад
Родитель
Сommit
57d7090405
1 измененных файлов: 1 добавлений и 2 удалений
  1. 1 2
      src/xt_pages/user/coursePrint.vue

+ 1 - 2
src/xt_pages/user/coursePrint.vue Просмотреть файл

@@ -25,7 +25,7 @@
25 25
 
26 26
             <div class="inline_block" style="margin-left:25px;">
27 27
               床位:
28
-              <div class="under_line" style="width: 120px;text-align: left">{{patient.DialysisSchedule.device_number.number}}</div>
28
+              <div class="under_line" style="width: 120px;text-align: left">{{patient.DialysisSchedule&&patient.DialysisSchedule.device_number?patient.DialysisSchedule.device_number.number:''}}</div>
29 29
             </div>
30 30
 
31 31
             <div class="inline_block" style="margin-left: 25px;">
@@ -63,7 +63,6 @@
63 63
 
64 64
 
65 65
 <script>
66
-  import { GetBatchPrintDialysisData } from '@/api/print_data'
67 66
   import { jsGetAge, uParseTime } from '@/utils/tools'
68 67
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
69 68
   import { GetCoursePrintData } from '@/api/patient'