see999 пре 3 година
родитељ
комит
00e7cbbd69
1 измењених фајлова са 15 додато и 9 уклоњено
  1. 15 9
      src/xt_pages/outpatientCharges/settlementTemplate/printOne.vue

+ 15 - 9
src/xt_pages/outpatientCharges/settlementTemplate/printOne.vue Прегледај датотеку

@@ -152,12 +152,18 @@
152 152
                             <table class="inside_table">
153 153
                                 <tbody>
154 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 157
                                         <td style="width:25%;">手术及操作名称</td>
158 158
                                         <td style="width:25%;">手术及操作代码</td>
159 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 167
                                         <td>&nbsp;</td>
162 168
                                         <td>&nbsp;</td>
163 169
                                         <td>&nbsp;</td>
@@ -524,14 +530,14 @@
524 530
                                             <div>
525 531
                                                 结算期间:
526 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 536
                                                 </div>——
531 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 541
                                                 </div>
536 542
                                             </div>
537 543
                                         </td>