|
|
@@ -193,9 +193,9 @@ public class InventoryService extends BaseService<Inventory> {
|
|
|
//入库数量
|
|
|
inOutRecordVO.setIntoQty(inOutRecordVO.getOutQty());
|
|
|
//入库价
|
|
|
- inOutRecordVO.setPriceInto(inOutRecordVO.getCostPrice());
|
|
|
+ inOutRecordVO.setPriceInto(inOutRecordVO.getCostPrice()!=null ? inOutRecordVO.getCostPrice() : BigDecimal.ZERO );
|
|
|
//入库金额
|
|
|
- inOutRecordVO.setIntoAmt(inOutRecordVO.getCostAmt());
|
|
|
+ inOutRecordVO.setIntoAmt(inOutRecordVO.getCostAmt()!=null ? inOutRecordVO.getCostAmt() : BigDecimal.ZERO);
|
|
|
}
|
|
|
//endregion
|
|
|
//入库日期
|