|
@@ -447,6 +447,10 @@ public class StorageBillPrintController extends JeecgController<StorageBillPrint
|
|
|
} else {
|
|
|
weight = billetRulerConfig.getWeight();
|
|
|
exportRow.setWeightPerPiece(BigDecimal.valueOf(weight));
|
|
|
+ Integer amount = x.getAmountTotal();
|
|
|
+ BigDecimal totalWeight = (amount == null) ? BigDecimal.ZERO :
|
|
|
+ BigDecimal.valueOf(weight).multiply(BigDecimal.valueOf(amount));
|
|
|
+ exportRow.setTotalWeight(totalWeight);
|
|
|
}
|
|
|
|
|
|
|