瀏覽代碼

8.药品端打印需要增加打印内容;请领单号、申请科室、请领取时间(月日时分)

seimin 3 年之前
父節點
當前提交
93f05bed6c
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/app/views/pharmacy/pharmacy.component.html

+ 5 - 1
src/app/views/pharmacy/pharmacy.component.html

@@ -200,7 +200,11 @@
200 200
   <!-- 主体部分 end -->
201 201
   <!-- 二维码打印 -->
202 202
   <div id="report" style="display: none">
203
-    <img *ngFor="let img of codes" style="width: 200px;height:200px;" [src]="img.base64" alt="">
203
+    <div style="display: inline-block;" *ngFor="let img of codes">
204
+      <img style="width: 200px;height:200px;" [src]="img.base64" alt="">
205
+      <div style="text-align: center;font-size: 12px;width: 200px;font-weight: bold;color: #0a0a0a;">{{img.target}}</div>
206
+      <div style="text-align: center;font-size: 12px;width: 200px;font-weight: bold;color: #0a0a0a;">{{img.creatTime|date:'MM-dd HH:mm'}}</div>
207
+    </div>
204 208
   </div>
205 209
 </div>
206 210