|
|
|
@ -204,6 +204,8 @@ public class QuoteServiceImpl extends ServiceImpl<QuoteMapper, Quote> implements |
|
|
|
quote.setStatus("草稿"); |
|
|
|
quote.setBuNo("*"); |
|
|
|
quote.setSite(quotation.getSite()); |
|
|
|
// |
|
|
|
quote.setProjectNo(quotation.getProjectId()); |
|
|
|
quote.setCustomerNo(quotation.getCustomerNo()); |
|
|
|
quote.setQuoter(quotation.getQuoter()); |
|
|
|
quote.setInsideInquiryNo(quotation.getQuotationNo()); |
|
|
|
@ -230,6 +232,7 @@ public class QuoteServiceImpl extends ServiceImpl<QuoteMapper, Quote> implements |
|
|
|
detail.setQuoteNo(quote.getQuoteNo()); |
|
|
|
detail.setVersionNo(quote.getVersionNo()); |
|
|
|
// detail.setPartId(); |
|
|
|
detail.setQuoteCount(1); |
|
|
|
detail.setPartNo(quotation.getTestPartNo()); |
|
|
|
detail.setPartDesc(quotation.getPartName()); |
|
|
|
|
|
|
|
@ -254,7 +257,8 @@ public class QuoteServiceImpl extends ServiceImpl<QuoteMapper, Quote> implements |
|
|
|
detail.setAdjustMachineCost(BigDecimal.ZERO); |
|
|
|
detail.setOtherCost(BigDecimal.ZERO); |
|
|
|
detail.setMachineCost(BigDecimal.ZERO); |
|
|
|
detail.setTotalPrice(BigDecimal.ZERO); |
|
|
|
|
|
|
|
detail.setTotalCost(BigDecimal.ZERO); |
|
|
|
detail.setProfitRate(BigDecimal.ZERO); // 利润率 |
|
|
|
detail.setProfitAmount(BigDecimal.ZERO); |
|
|
|
detail.setTotalPrice(BigDecimal.ZERO); |
|
|
|
|