瀏覽代碼

预制码70x50

seimin 1 年之前
父節點
當前提交
b21d93ecac
共有 1 個文件被更改,包括 9 次插入9 次删除
  1. 9 9
      src/app/views/barcode-prefabrication/barcode-prefabrication.component.html

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

@@ -131,22 +131,22 @@
131 131
 <app-mask *ngIf="maskFlag"></app-mask>
132 132
 
133 133
 <!-- 打印二维码的内容 -->
134
-<div id="print-section" hidden>
134
+<div id="print-section">
135 135
   <table>
136
-    <tr style="width: 80mm;height: 60mm;overflow: hidden;box-sizing: border-box;page-break-inside:avoid;" *ngFor="let item of codeList">
137
-      <td style="padding:0;">
138
-        <div style="display: flex;justify-content: center;align-items: center;height: 15mm;background-color: #F4EE17;-webkit-print-color-adjust: exact;font-size: 5mm;letter-spacing: 1mm;font-weight: bold;">
136
+    <tr style="overflow: hidden;box-sizing: border-box;page-break-inside:avoid;" *ngFor="let item of codeList">
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;">
139 139
           医疗废物标签
140 140
         </div>
141
-        <div style="display:flex;overflow: hidden;height: 45mm;">
141
+        <div style="display:flex;overflow: hidden;height: 36mm;">
142 142
           <img [src]="item.qrCode" style="height: 100%;box-shadow: 1mm #f2f2f2;">
143 143
           <div style="flex: 1;">
144
-            <div style="font-size: 3mm;margin: 2mm 1mm 1mm;">医废序号:{{item.clinicalWasteSn}}</div>
145
-            <div style="font-size: 3mm;margin: 1mm;">科室名称:_______________</div>
146
-            <div style="font-size: 3mm;margin: 1mm; overflow: hidden;">
144
+            <div style="font-size: 3mm;margin: 2mm 0 0;">医废序号:{{item.clinicalWasteSn}}</div>
145
+            <div style="font-size: 3mm;margin: 0;">科室名称:_______________</div>
146
+            <div style="font-size: 3mm;margin: 0; overflow: hidden;">
147 147
               <p style="float: left;margin: 0;">医废类型:</p>
148 148
               <ul style="margin:0;padding: 0;list-style-type: none;float: right;">
149
-                <li *ngFor="let clinicalWasteType of clinicalWasteTypes;let first = first;" [ngStyle]="{'margin-top': first ? '' : '1.1mm'}"><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
+                <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>
150 150
               </ul>
151 151
             </div>
152 152
           </div>