see999 3 years ago
parent
commit
00e7cbbd69
1 changed files with 15 additions and 9 deletions
  1. 15 9
      src/xt_pages/outpatientCharges/settlementTemplate/printOne.vue

+ 15 - 9
src/xt_pages/outpatientCharges/settlementTemplate/printOne.vue View File

152
                             <table class="inside_table">
152
                             <table class="inside_table">
153
                                 <tbody>
153
                                 <tbody>
154
                                     <tr>
154
                                     <tr>
155
-                                        <td style="width:25%;">诊断名称:{{ info.dise_name }}</td>
156
-                                        <td style="width:25%;">诊断代码:{{ info.dise_code }}</td>
155
+                                        <td style="width:25%;">诊断名称</td>
156
+                                        <td style="width:25%;">诊断代码</td>
157
                                         <td style="width:25%;">手术及操作名称</td>
157
                                         <td style="width:25%;">手术及操作名称</td>
158
                                         <td style="width:25%;">手术及操作代码</td>
158
                                         <td style="width:25%;">手术及操作代码</td>
159
                                     </tr>
159
                                     </tr>
160
-                                    <tr v-for="item in 6">
160
+                                    <tr>
161
+                                        <td>&nbsp;{{ info.dise_name }}</td>
162
+                                        <td>&nbsp;{{ info.dise_code }}</td>
163
+                                        <td>&nbsp;</td>
164
+                                        <td>&nbsp;</td>
165
+                                    </tr>
166
+                                    <tr v-for="item in 5">
161
                                         <td>&nbsp;</td>
167
                                         <td>&nbsp;</td>
162
                                         <td>&nbsp;</td>
168
                                         <td>&nbsp;</td>
163
                                         <td>&nbsp;</td>
169
                                         <td>&nbsp;</td>
524
                                             <div>
530
                                             <div>
525
                                                 结算期间:
531
                                                 结算期间:
526
                                                 <div class="inline_block">
532
                                                 <div class="inline_block">
527
-                                                    <div style="width:40px;" class="under_line">{{ info.begndate.slice(0,4) }}</div>年
528
-                                                    <div style="width:40px;" class="under_line">{{ info.begndate.slice(5,7) }}</div>月
529
-                                                    <div style="width:40px;" class="under_line">{{ info.begndate.slice(8,11) }}</div>日
533
+                                                    <div style="width:40px;" class="under_line">{{ info.begndate ? info.begndate.slice(0,4) : '' }}</div>年
534
+                                                    <div style="width:40px;" class="under_line">{{ info.begndate ? info.begndate.slice(5,7) : '' }}</div>月
535
+                                                    <div style="width:40px;" class="under_line">{{ info.begndate ? info.begndate.slice(8,11) : '' }}</div>日
530
                                                 </div>——
536
                                                 </div>——
531
                                                 <div class="inline_block">
537
                                                 <div class="inline_block">
532
-                                                    <div style="width:40px;" class="under_line">{{ info.enddate.slice(0,4) }}</div>年
533
-                                                    <div style="width:40px;" class="under_line">{{ info.enddate.slice(5,7) }}</div>月
534
-                                                    <div style="width:40px;" class="under_line">{{ info.enddate.slice(8,11) }}</div>日
538
+                                                    <div style="width:40px;" class="under_line">{{ info.enddate ? info.enddate.slice(0,4) : '' }}</div>年
539
+                                                    <div style="width:40px;" class="under_line">{{ info.enddate ? info.enddate.slice(5,7) : '' }}</div>月
540
+                                                    <div style="width:40px;" class="under_line">{{ info.enddate ? info.enddate.slice(8,11) : '' }}</div>日
535
                                                 </div>
541
                                                 </div>
536
                                             </div>
542
                                             </div>
537
                                         </td>
543
                                         </td>