|
|
|
@ -163,8 +163,9 @@ public class ShipmentBoxServiceImpl extends ServiceImpl<ShipmentBoxMapper, Shipm |
|
|
|
if (StringUtils.isEmpty(soFinalRollData.getSystemBatchNo()) || soFinalRollData.getSystemBatchNo().length() < 10){ |
|
|
|
throw new RuntimeException("物料"+rollData.getPartNo()+"系统批次号格式不正确或不存在!"); |
|
|
|
} |
|
|
|
String partBatchNo = soFinalRollData.getSystemBatchNo().substring(0,10); |
|
|
|
//todo |
|
|
|
String BatchNo = shipmentRollMapper.queryPartPropertyItem(part.getSite(),part.getPartNo(),"P00002"); |
|
|
|
// String BatchNo = shipmentRollMapper.queryPartPropertyItem(part.getSite(),part.getPartNo(),"P00002"); |
|
|
|
|
|
|
|
Date productionDate = box.getCreateDate(); |
|
|
|
BigDecimal qty = new BigDecimal(0); |
|
|
|
@ -196,6 +197,6 @@ public class ShipmentBoxServiceImpl extends ServiceImpl<ShipmentBoxMapper, Shipm |
|
|
|
|
|
|
|
String jobNo = shipmentDetail.getOrderNumber()+"-"+shipmentDetail.getLineNo()+"-"+shipmentDetail.getRelNo(); |
|
|
|
|
|
|
|
return new ShipmentBoxPrint(vendorCode, ACCPartNo, partDesc, BatchNo, productionDate, qty, version, uom, bin, Config, MCO,tool, level, phaseCode, customerName, partNo, desc, boxQty, totalQty, po, shipDate, jobNo); |
|
|
|
return new ShipmentBoxPrint(vendorCode, ACCPartNo, partDesc, partBatchNo, productionDate, qty, version, uom, bin, Config, MCO,tool, level, phaseCode, customerName, partNo, desc, boxQty, totalQty, po, shipDate, jobNo); |
|
|
|
} |
|
|
|
} |