wangxichen 6 дней назад
Родитель
Сommit
4d08bd01c2

+ 0 - 9
src/main/java/com/jeesite/modules/mes/web/MesProductHmbController.java

@@ -226,15 +226,6 @@ public class MesProductHmbController extends BaseController {
 			resp.setMessage(CommonUitl.formatOprno(oprno) + " 当前计划已完成");
 			return resp;
 		}
-		MesPlanQtyResp planQty = mesProductPlanService.getPlanQty(mesProductPlan.getId());
-		if (planQty.getIssuedQty() >= planQty.getOp035Qty()) {
-			resp.setResult(Global.FALSE);
-			resp.setCode("WAIT_OP035");
-			resp.setMessage("OP100已追上OP035上线数量,请等待OP035继续上线");
-			resp.setPlanId(mesProductPlan.getId());
-			resp.setPlanQty(planQty);
-			return resp;
-		}
 		String pn = mesProductPlan.getProductCateId();
 		if(!mesHmbPairService.isSupportedModel(pn)){
 			resp.setResult(Global.FALSE);