|
|
@@ -444,9 +444,15 @@ public class DigitalReceiptService {
|
|
|
for (RxDrugDetail item : drugList) {
|
|
|
String drugName = item.getDrugGenname() + "(" + item.getDrugSpec() + ")";
|
|
|
|
|
|
+ PdfPCell blankCell = new PdfPCell(new Phrase(""));
|
|
|
+ blankCell.setBorder(-1);
|
|
|
+
|
|
|
PdfPCell drugNameCell = new PdfPCell(new Phrase(drugName, smallFont));
|
|
|
drugNameCell.setBorder(-1);
|
|
|
|
|
|
+ PdfPCell amountCell = new PdfPCell(new Phrase("× " + item.getDrugCnt() + item.getDrugDosunt(), smallFont));
|
|
|
+ amountCell.setBorder(-1);
|
|
|
+
|
|
|
String usedWay = "用法:" + item.getMedcWayDscr() + "(" + item.getSinDoscnt() + item.getSinDosunt() + "/次)" ;
|
|
|
PdfPCell usedWayCell = new PdfPCell(new Phrase(usedWay, smallFont));
|
|
|
usedWayCell.setBorder(-1);
|
|
|
@@ -455,13 +461,15 @@ public class DigitalReceiptService {
|
|
|
PdfPCell freqCell = new PdfPCell(new Phrase(freq, smallFont));
|
|
|
freqCell.setBorder(-1);
|
|
|
|
|
|
- PdfPCell amountCell = new PdfPCell(new Phrase("× " + item.getDrugCnt() + item.getDrugDosunt(), smallFont));
|
|
|
- amountCell.setBorder(-1);
|
|
|
-
|
|
|
table.addCell(drugNameCell);
|
|
|
+ table.addCell(blankCell);
|
|
|
+ table.addCell(amountCell);
|
|
|
+ table.addCell(blankCell);
|
|
|
table.addCell(usedWayCell);
|
|
|
+ table.addCell(blankCell);
|
|
|
table.addCell(freqCell);
|
|
|
- table.addCell(amountCell);
|
|
|
+ table.addCell(blankCell);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
return table;
|