|
|
|
@ -260,7 +260,7 @@ public class DeliveryNoteServiceImpl extends BaseServiceImpl<DeliveryNoteMapper,
|
|
|
|
|
// 如果有数量没有包条码,则生成系统包条
|
|
|
|
|
if (CollUtil.isEmpty(boxCodes)) { |
|
|
|
|
for (int i = 0; i < Convert.toInt(orderInfoVO.getGoodsNumber()); i++) { |
|
|
|
|
boxCodes.add(orderInfoVO.getCustomItemNo() + "-" + (i + 1)); |
|
|
|
|
boxCodes.add(orderInfoVO.getCustomOrderNo() + orderInfoVO.getCustomItemNo() + "-" + (i + 1)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
int size = boxCodes.size(); |
|
|
|
|