dimengzhe 2 years ago
parent
commit
69e1a6b329
  1. 2
      anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busdeliveredapply/BusDeliveredApplyService.java

2
anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busdeliveredapply/BusDeliveredApplyService.java

@ -1755,7 +1755,7 @@ public class BusDeliveredApplyService extends MybatisBaseService<BusDeliveredApp
int num = baseMapper.selectNumByContractNo(dto.getContractId());
int orderNum = busSalesOrderDiscountService.selectByContractNo(dto.getContractId());
if(orderNum>num){
return rb.setMsg("该合同还有未赠送的套餐,不允许提交");
return rb.setMsg("本次出库为该订单最后一批出库,还存在未赠送的套餐,不允许提交");
}
}
} else {

Loading…
Cancel
Save