|
@@ -133,19 +133,19 @@
|
133
|
133
|
<div id="print-section" hidden>
|
134
|
134
|
<table style="overflow: hidden;width: 100%;">
|
135
|
135
|
<thead>
|
136
|
|
- <tr style="display: flex;justify-content: center;text-align: center;font-weight: bold;page-break-inside: avoid;" *ngIf="listOfData.length">
|
137
|
|
- <td style="flex: 2; border: 1px solid #ccc;">科室名称</td>
|
138
|
|
- <td style="flex: 1; border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;border-top: 1px solid #ccc;" *ngFor="let item of rows[1]">{{item}}</td>
|
139
|
|
- <td style="flex: 1; border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;border-top: 1px solid #ccc;">件数</td>
|
140
|
|
- <td style="flex: 1; border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;border-top: 1px solid #ccc;">费用/元</td>
|
|
136
|
+ <tr style="text-align: center;font-weight: bold;page-break-inside: avoid;" *ngIf="listOfData.length">
|
|
137
|
+ <td style="border: 1px solid #ccc;">科室名称</td>
|
|
138
|
+ <td style="border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;border-top: 1px solid #ccc;" *ngFor="let item of rows[1]">{{item}}</td>
|
|
139
|
+ <td style="border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;border-top: 1px solid #ccc;">件数</td>
|
|
140
|
+ <td style="border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;border-top: 1px solid #ccc;">费用/元</td>
|
141
|
141
|
</tr>
|
142
|
142
|
</thead>
|
143
|
143
|
<tbody *ngFor="let item of listOfData">
|
144
|
|
- <tr style="display: flex;justify-content: center;text-align: center;page-break-inside: avoid;">
|
145
|
|
- <td style="flex: 2;word-break: break-all; border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;" [ngStyle]="{'border-left':'1px solid #ccc'}">{{item[0][item[0].length - 1]}}</td>
|
146
|
|
- <td style="flex: 1; border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;" *ngFor="let v of item[1]">{{v.sendBackNum}}</td>
|
|
144
|
+ <tr style="text-align: center;page-break-inside: avoid;">
|
|
145
|
+ <td style="border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;" [ngStyle]="{'border-left':'1px solid #ccc'}">{{item[0][item[0].length - 1]}}</td>
|
|
146
|
+ <td style="border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;" *ngFor="let v of item[1]">{{v.sendBackNum}}</td>
|
147
|
147
|
<ng-container *ngFor="let v of item[2];let first = first;">
|
148
|
|
- <td style="flex: 1; border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;" *ngIf="!first">{{v}}</td>
|
|
148
|
+ <td style="border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;" *ngIf="!first">{{v}}</td>
|
149
|
149
|
</ng-container>
|
150
|
150
|
</tr>
|
151
|
151
|
</tbody>
|