|
@@ -69,6 +69,7 @@ import com.fjhx.sale.entity.purchase.po.EhsdPurchaseProduct;
|
|
|
import com.fjhx.sale.entity.purchase.vo.EhsdPurchaseProductVo;
|
|
|
import com.fjhx.sale.entity.sale.vo.SaleQuotationVo;
|
|
|
import com.fjhx.sale.mapper.contract.ContractMapper;
|
|
|
+import com.fjhx.sale.service.after.AfterSalesService;
|
|
|
import com.fjhx.sale.service.claim.ClaimContractService;
|
|
|
import com.fjhx.sale.service.contract.*;
|
|
|
import com.fjhx.sale.service.purchase.EhsdPurchaseProductService;
|
|
@@ -200,6 +201,8 @@ public class ContractServiceImpl extends ServiceImpl<ContractMapper, Contract>
|
|
|
|
|
|
@Autowired
|
|
|
private FileInfoService fileInfoService;
|
|
|
+ @Autowired
|
|
|
+ private AfterSalesService afterSalesService;
|
|
|
|
|
|
/**
|
|
|
* 合同和样品单 下拉分页
|
|
@@ -434,6 +437,11 @@ public class ContractServiceImpl extends ServiceImpl<ContractMapper, Contract>
|
|
|
corporationService.attributeAssign(list, ContractVo::getSellCorporationId, (item, corporation) -> {
|
|
|
item.setSellCorporationName(corporation.getName());
|
|
|
});
|
|
|
+
|
|
|
+ //对售后产生的订单赋值售后单号
|
|
|
+ afterSalesService.attributeAssign(list, Contract::getAfterSalesId, (item, afterSales) -> {
|
|
|
+ item.setAfterSalesCode(afterSales.getCode());
|
|
|
+ });
|
|
|
}
|
|
|
return page;
|
|
|
}
|