Преглед изворни кода

新厂钢材入厂边库理重单重不显示问题

xiaosonghong пре 5 месеци
родитељ
комит
a33774638a

+ 2 - 0
src/main/java/com/steerinfo/dil/service/impl/OyeResultServiceImpl.java

@@ -597,6 +597,8 @@ public class OyeResultServiceImpl implements IOyeResultService {
             theoryWeight = DataChange.dataToBigDecimal(map.get("netWeight"));
             singleWeight = theoryWeight.divide(materialNumber, 3, RoundingMode.HALF_UP);
         }
+        map.put("theoryWeight", theoryWeight);
+        map.put("singleWeight", singleWeight);
         // 创建入库需要的数据
         OyeInboundResult oyeInboundResult = new OyeInboundResult();
         oyeInboundResult.setResultId(oyeInboundResultMapper.getResultId());