| | |
| | | ifsInventoryQuantity.setIsCopper(1); |
| | | ifsInventoryQuantity.setIsQuarter(0); |
| | | ifsInventoryQuantity.setInspectStatus(0); |
| | | ifsInventoryQuantity.setOrderType(OrderType.RAW.getValue()); |
| | | ifsInventoryQuantity.setMaterialProp("01Cu"); |
| | | |
| | | ifsInventoryQuantity.setQtyArrived(insOrder.getQtyArrived()); |
| | | ifsInventoryQuantity.setBuyUnitMeas(insOrder.getBuyUnitMeas()); |
| | |
| | | // 检验后移库 |
| | | //1301:原材料合格库,CP-02-001:成品库 |
| | | if(StringUtils.equals(inventoryQuantity.getOrderType(), OrderType.RAW.getValue())){ |
| | | //如果订单为原材料的拆分订单,则移到外购原材料库位W03 |
| | | toLocation = one.getIsSplitOrder().equals(1)?"W03":"1301"; |
| | | toLocation = "1301"; |
| | | }else if(StringUtils.equals(inventoryQuantity.getOrderType(), OrderType.WG.getValue())){ |
| | | toLocation = "CP-02-001"; |
| | | }else{ |