备料计划中(计划出库-累计出库)为负数时生产订单不允许完工
This commit is contained in:
		
							parent
							
								
									b265c73384
								
							
						
					
					
						commit
						042de4bb85
					
				|  | @ -78,7 +78,7 @@ public class ReWrite20ForOrderBP { | |||
|             for(PraybillItemVO itemvo : itemvos) { | ||||
|                 if (lbids.contains(itemvo.getPk_praybill_b())) { | ||||
| 
 | ||||
|                     if (itemvo.getNaccumulatenum().compareTo(itemvo.getNnum()) < 0 && ( null != itemvo.getAttributeValue("vbdef33") && itemvo.getNaccumulatenum().compareTo(new UFDouble((BigDecimal)itemvo.getAttributeValue("vbdef33"))) == 0)) { | ||||
|                     if (itemvo.getNaccumulatenum().compareTo(itemvo.getNnum()) < 0 && ( null != itemvo.getAttributeValue("vbdef33") && itemvo.getNaccumulatenum().compareTo(new UFDouble(new UFDouble(String.valueOf(itemvo.getAttributeValue("vbdef33"))))) == 0)) { | ||||
|                         itemvo.setStatus(1); | ||||
|                         itemvo.setBrowclose(UFBoolean.FALSE); | ||||
|                     } else { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue