|
|
|
@ -211,7 +211,7 @@ public class PoServiceImpl extends ServiceImpl<PoMapper, PurchaseOrder> implemen |
|
|
|
inData.setReceiptNo(receiptNo); |
|
|
|
if (inData.getHandlingUnitList().isEmpty()) { |
|
|
|
TransDetailSubDto huInfo = new TransDetailSubDto(); |
|
|
|
huInfo.setPerQty(inData.getTransQty().setScale(2, RoundingMode.HALF_UP).doubleValue()); |
|
|
|
huInfo.setPerQty(inData.getTransQty().setScale(3, RoundingMode.HALF_UP).doubleValue()); |
|
|
|
huInfo.setPackageQty(1D); |
|
|
|
inData.setHandlingUnitList(Collections.singletonList(huInfo)); |
|
|
|
inData.setNeedHandlingUnit("N"); |
|
|
|
|