提交 3e502114 authored 作者: 杨启发's avatar 杨启发

结算单优化

上级 37754bdc
......@@ -64,6 +64,10 @@ public class PageOwnerSettlementOwnerDetailVO {
@ApiModelProperty(value="应付运费",example = "2.52")
private BigDecimal freight;
@MoneyOutConvert
@ApiModelProperty(value="司机实收",example = "2.52")
private BigDecimal driverFreight;
@MoneyOutConvert
@ApiModelProperty(value="损耗单价",example = "1.2")
private BigDecimal lossPrice;
......
......@@ -255,8 +255,7 @@ public class SettlementOwnerDetailServiceImpl implements SettlementOwnerDetailS
rowData.add(new ExcelData(dto.getLossWeight()));
rowData.add(new ExcelData(dto.getLossPrice().movePointLeft(2)));
rowData.add(new ExcelData(dto.getLossFreight().movePointLeft(2)));
//司机实收=应付运费-货损金额
rowData.add(new ExcelData(dto.getFreight().subtract(dto.getLossFreight())));
rowData.add(new ExcelData(dto.getDriverFreight().movePointLeft(2)));
rowData.add(new ExcelData(dto.getInvoiceServiceFeeRate().toString()+ "%"));
rowData.add(new ExcelData(dto.getInvoiceServiceFee().movePointLeft(2)));
rowData.add(new ExcelData(dto.getPrepayFreight().movePointLeft(2)));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论