退款单 冒号问题

This commit is contained in:
2026-04-03 17:22:39 +08:00
parent b6eb72f260
commit 48c058456d

View File

@@ -439,12 +439,12 @@ public interface PrinterImpl {
}
if ("退款单".equals(printInfoDTO.getPrintTitle())) {
data.append(getFormatLabel(leftRightAlign("退款总计", printInfoDTO.getRefundAmount(), 16), signLabelInfo.f)).append(signLabelInfo.br);
data.append(getFormatLabel(StrUtil.format("退款方式:{}", printInfoDTO.getRefundType()), signLabelInfo.s))
data.append(getFormatLabel(StrUtil.format("退款方式: {}", printInfoDTO.getRefundType()), signLabelInfo.s))
.append(signLabelInfo.br);
data.append(getFormatLabel(StrUtil.format("退款原因{}", printInfoDTO.getRefundReason()), signLabelInfo.s))
data.append(getFormatLabel(StrUtil.format("退款原因: {}", printInfoDTO.getRefundReason()), signLabelInfo.s))
.append(signLabelInfo.br);
} else {
data.append(getFormatLabel(StrUtil.format("退菜原因{}", printInfoDTO.getRefundReason()), signLabelInfo.s))
data.append(getFormatLabel(StrUtil.format("退菜原因: {}", printInfoDTO.getRefundReason()), signLabelInfo.s))
.append(signLabelInfo.br);
}
data.append(getFormatLabel("--------------------------------", signLabelInfo.s))
@@ -581,9 +581,9 @@ public interface PrinterImpl {
getFormatLabel(shopNote, signLabelInfo.s) +
signLabelInfo.br +
"--------------------------------" + signLabelInfo.br +
getFormatLabel(StrUtil.format("取号时间{}", DateUtil.format(takeTime, "yyyy-MM-dd HH:mm:ss")), signLabelInfo.s) +
getFormatLabel(StrUtil.format("取号时间: {}", DateUtil.format(takeTime, "yyyy-MM-dd HH:mm:ss")), signLabelInfo.s) +
signLabelInfo.br +
getFormatLabel(StrUtil.format("打印时间{}", DateUtil.format(DateUtil.date(), "yyyy-MM-dd HH:mm:ss")), signLabelInfo.s) +
getFormatLabel(StrUtil.format("打印时间: {}", DateUtil.format(DateUtil.date(), "yyyy-MM-dd HH:mm:ss")), signLabelInfo.s) +
signLabelInfo.br +
signLabelInfo.cut;
}