seimin 1 år sedan
förälder
incheckning
4ec26e8fcc

+ 11 - 9
src/app/views/barcode-prefabrication/barcode-prefabrication.component.html

@@ -135,18 +135,20 @@
135 135
   <table>
136 136
     <tr style="overflow: hidden;box-sizing: border-box;page-break-inside:avoid;" *ngFor="let item of codeList">
137 137
       <td style="padding:0;width: 70mm;height: 50mm;">
138
-        <div style="display: flex;justify-content: center;align-items: center;height: 14mm;background-color: #F4EE17;-webkit-print-color-adjust: exact;font-size: 5mm;letter-spacing: 1mm;font-weight: bold;">
138
+        <div style="display: flex;justify-content: center;align-items: center;height: 8mm;background-color: #F4EE17;-webkit-print-color-adjust: exact;font-size: 4mm;letter-spacing: 1mm;font-weight: bold;">
139 139
           医疗废物标签
140 140
         </div>
141
-        <div style="display:flex;overflow: hidden;height: 36mm;">
142
-          <img [src]="item.qrCode" style="height: 100%;box-shadow: 1mm #f2f2f2;">
143
-          <div style="flex: 1;">
144
-            <div style="font-size: 3mm;margin: 2mm 0 0;">医废序号:{{item.clinicalWasteSn}}</div>
145
-            <div style="font-size: 3mm;margin: 0;">科室名称:_______________</div>
141
+        <div style="display:flex;overflow: hidden;height: 42mm;">
142
+          <div style="width:34mm;height: 34mm;">
143
+            <img [src]="item.qrCode" style="height: 34mm;">
144
+            <div style="font-size: 3mm;margin: 0 1mm 0 2mm;height: 1.5em;word-break: break-all;overflow: hidden;text-align: center;">{{item.clinicalWasteSn}}</div>
145
+          </div>
146
+          <div style="flex: 1;height: 34mm;">
147
+            <div style="font-size: 3mm;margin: 1mm 0 1mm;">科室:____________________</div>
146 148
             <div style="font-size: 3mm;margin: 0; overflow: hidden;">
147
-              <p style="float: left;margin: 0;">医废类型:</p>
148
-              <ul style="margin:0;padding: 0;list-style-type: none;float: right;">
149
-                <li *ngFor="let clinicalWasteType of clinicalWasteTypes;let first = first;"><span style="display: inline-block;width: 3mm;height: 3mm;border:1px solid #000;position: relative;top: 0.7mm;margin-right: 1mm;"></span>{{clinicalWasteType.typeName}}</li>
149
+              <p style="float: left;margin: 0;">类型:</p>
150
+              <ul style="margin:0;padding: 0;list-style-type: none;float: right;width: 29mm;">
151
+                <li *ngFor="let clinicalWasteType of clinicalWasteTypes;let first = first;" style="height: 1.5em;word-break: break-all;overflow: hidden;"><span style="display: inline-block;width: 3mm;height: 3mm;border:1px solid #000;position: relative;top: 0.7mm;margin-right: 1mm;"></span>{{clinicalWasteType.typeName}}</li>
150 152
               </ul>
151 153
             </div>
152 154
           </div>