|
|
@ -750,7 +750,8 @@ public class ScmVehicleExamineService extends MybatisBaseService<ScmVehicleExami |
|
|
|
if (deposit > 0) { |
|
|
|
finPaymentrecordDto.setCost(String.valueOf(price - deposit / num));//付款金额
|
|
|
|
finPaymentrecordDto.setAccountsReceive(String.valueOf(price - deposit / num));//付款金额
|
|
|
|
finPaymentrecordDto.setPayRemark("本车使用订金" + (deposit / num) + "元。"); |
|
|
|
// finPaymentrecordDto.setPayRemark("本车使用订金" + (deposit / num) + "元。");
|
|
|
|
finPaymentrecordDto.setPayRemark(scmVehicleExamine.getVinNo()+"使用订金" + (deposit / num) + "元。"); |
|
|
|
} else { |
|
|
|
finPaymentrecordDto.setCost(String.valueOf(price));//付款金额
|
|
|
|
finPaymentrecordDto.setAccountsReceive(String.valueOf(price));//付款金额
|
|
|
@ -764,7 +765,8 @@ public class ScmVehicleExamineService extends MybatisBaseService<ScmVehicleExami |
|
|
|
} else if (i == 1) { |
|
|
|
finPaymentrecordDto.setCost(String.valueOf(price - deposit)); |
|
|
|
finPaymentrecordDto.setAccountsReceive(String.valueOf(price - deposit)); |
|
|
|
finPaymentrecordDto.setPayRemark("本车为末台车,使用订金" + deposit + "元。"); |
|
|
|
// finPaymentrecordDto.setPayRemark("本车为末台车,使用订金" + deposit + "元。");
|
|
|
|
finPaymentrecordDto.setPayRemark(scmVehicleExamine.getVinNo()+"为末台车,使用订金" + deposit + "元。"); |
|
|
|
} |
|
|
|
} |
|
|
|
finPaymentrecordDto.setBusSid(scmVehicleExamine.getBusinessSid());//外采申请sid
|
|
|
|