This commit is contained in:
linfso 2024-07-24 06:23:07 +08:00
parent f8a1f67f7c
commit 2e677d84c0

View File

@ -228,7 +228,7 @@ public class EmisSettleBillController extends BaseController
Map<String, Object> textMap = MapUtils.newHashMap();
textMap.put("title", bill.getSettleBillName());
textMap.put("total", bill.getRecMoney().toString());
textMap.put("total", bill.getRecMoney().stripTrailingZeros().toPlainString());
String tplName="tpl/bill_tpl_simple.xlsx";
@ -284,14 +284,18 @@ public class EmisSettleBillController extends BaseController
voMap.put("declareFee",declareFee.compareTo(BigDecimal.ZERO)==0?"0": declareFee.stripTrailingZeros().toPlainString());
voMap.put("otherFee", otherFee.compareTo(BigDecimal.ZERO)==0?"0":otherFee.stripTrailingZeros().toPlainString());
}else{
voMap.put("transFee",billItem.getWaybillDetail().getFreight().stripTrailingZeros().toPlainString());
}
// {.transFee} {.cebFee} {.declareFee} {.otherFee}
listMap.add(voMap);
}else{
voMap.put("transFee",billItem.getWaybillDetail().getFreight().stripTrailingZeros().toPlainString());
}
ServletOutputStream outputStream = response.getOutputStream();
//账单主数据填充