打印样式修改
This commit is contained in:
parent
ef95c312e5
commit
235b686afd
|
|
@ -231,7 +231,6 @@ public class FeieyunPrintUtil {
|
||||||
}
|
}
|
||||||
data.append("--------------------------------<BR>");
|
data.append("--------------------------------<BR>");
|
||||||
String t = "¥" + (ObjectUtil.isEmpty(detailPO.getDiscountAmount()) || ObjectUtil.isNull(detailPO.getDiscountAmount()) ? detailPO.getReceiptsAmount() : new BigDecimal(detailPO.getReceiptsAmount()).subtract(new BigDecimal(detailPO.getDiscountAmount())).toPlainString());
|
String t = "¥" + (ObjectUtil.isEmpty(detailPO.getDiscountAmount()) || ObjectUtil.isNull(detailPO.getDiscountAmount()) ? detailPO.getReceiptsAmount() : new BigDecimal(detailPO.getReceiptsAmount()).subtract(new BigDecimal(detailPO.getDiscountAmount())).toPlainString());
|
||||||
t = String.format("%11s", t).replace(' ', ' ');
|
|
||||||
if (orderType.equals("return")) {
|
if (orderType.equals("return")) {
|
||||||
data.append(StrUtil.format("<B>应退:{}</B><BR>", t));
|
data.append(StrUtil.format("<B>应退:{}</B><BR>", t));
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue