|
@@ -602,10 +602,10 @@ public class CAcceptanceBasicInfoServiceImpl extends ServiceImpl<CAcceptanceBasi
|
|
throw new ValidatorException(CodeUtil.FAIL, "导入失败,销售单价或数量小数位数过长!");
|
|
throw new ValidatorException(CodeUtil.FAIL, "导入失败,销售单价或数量小数位数过长!");
|
|
}
|
|
}
|
|
if (goodsInfo.getReferencePrice() != null) {
|
|
if (goodsInfo.getReferencePrice() != null) {
|
|
- goodsInfo.setReferencePrice(goodsInfo.getReferencePrice().setScale(2, BigDecimal.ROUND_HALF_UP));
|
|
|
|
|
|
+ goodsInfo.setReferencePrice(goodsInfo.getReferencePrice().setScale(4, BigDecimal.ROUND_HALF_UP));
|
|
}
|
|
}
|
|
if (goodsInfo.getFloatingPrice() != null) {
|
|
if (goodsInfo.getFloatingPrice() != null) {
|
|
- goodsInfo.setFloatingPrice(goodsInfo.getFloatingPrice().setScale(2, BigDecimal.ROUND_HALF_UP));
|
|
|
|
|
|
+ goodsInfo.setFloatingPrice(goodsInfo.getFloatingPrice().setScale(4, BigDecimal.ROUND_HALF_UP));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if(acceptanceImportGoodsRequest.getFlag()!=null && acceptanceImportGoodsRequest.getFlag() ==1){
|
|
if(acceptanceImportGoodsRequest.getFlag()!=null && acceptanceImportGoodsRequest.getFlag() ==1){
|