|
|
@@ -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);
|