Pārlūkot izejas kodu

验收单增加 单价调整 显示逻辑

zhangc 7 mēneši atpakaļ
vecāks
revīzija
1eda20ac32

+ 4 - 0
src/main/java/com/inkasso/factoring/acceptanceManagement/service/impl/CAcceptanceBasicInfoServiceImpl.java

@@ -722,6 +722,10 @@ public class CAcceptanceBasicInfoServiceImpl extends ServiceImpl<CAcceptanceBasi
         List<AcceptanceListVo> list = baseMapper.getBySearch(search);
         if(CollectionUtil.isNotEmpty(list)){
             for(AcceptanceListVo v:list){
+                if("业务经理审核通过".equals(v.getStage())){
+                    v.setShowPriceChange(false);
+                    continue;
+                }
                 //查询结算单的货物编号 已结算的货物无法进行价格调整
                 List<SettlementGoodsInfo> list1 = settlementGoodsInfoService.lambdaQuery()
                     .likeRight(SettlementGoodsInfo::getAcceptanceGoodsNumber, v.getAcceptanceNumber())