seimin vor 1 Jahr
Ursprung
Commit
2f97fd2764

+ 4 - 4
src/app/views/washing-batch-view/washing-batch-view.component.html

@@ -134,18 +134,18 @@
134 134
   <table style="overflow: hidden;width: 100%;">
135 135
     <thead>
136 136
       <tr style="text-align: center;font-weight: bold;page-break-inside: avoid;" *ngIf="listOfData.length">
137
-        <td style="border: 1px solid #ccc;">科室名称</td>
137
+        <td style="border: 1px solid #ccc;width: 4em;">科室名称</td>
138 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 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>
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 144
       <tr style="text-align: center;page-break-inside: avoid;">
145 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 146
         <td style="border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;" *ngFor="let v of item[1]">{{v.sendBackNum}}</td>
147
-        <ng-container *ngFor="let v of item[2];let first = first;">
148
-          <td style="border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;" *ngIf="!first">{{v}}</td>
147
+        <ng-container *ngFor="let v of item[2];let first = first;let last = last;">
148
+          <td style="border-bottom: 1px solid #ccc;border-right: 1px solid #ccc;" *ngIf="!first && !last">{{v}}</td>
149 149
         </ng-container>
150 150
       </tr>
151 151
     </tbody>