| | |
| | | |
| | | #endregion |
| | | var modelList = new List<BllBoxInfo>(); |
| | | |
| | | var addLotNo = ""; |
| | | |
| | | if (packLevel == 1) |
| | | { |
| | | #region 一级包装 |
| | |
| | | } |
| | | } |
| | | |
| | | addLotNo = maxLotNoStr; |
| | | #endregion |
| | | |
| | | |
| | | |
| | | |
| | | for (int i = 1; i <= labelNum; i++) |
| | | { |
| | |
| | | } |
| | | } |
| | | |
| | | addLotNo = maxCodestr2; |
| | | #endregion |
| | | |
| | | |
| | | |
| | | |
| | | for (int i = 1; i <= labelNum2; i++)//箱码标签 |
| | | { |
| | |
| | | |
| | | #endregion |
| | | } |
| | | |
| | | if (string.IsNullOrWhiteSpace(asnList.LotNo)) |
| | | { |
| | | asnList.LotNo = addLotNo; |
| | | Db.Updateable(asnList).ExecuteCommand(); |
| | | } |
| | | else |
| | | { |
| | | if (!asnList.LotNo.Contains(addLotNo)) |
| | | { |
| | | asnList.LotNo += ";" + addLotNo; |
| | | Db.Updateable(asnList).ExecuteCommand(); |
| | | } |
| | | } |
| | | |
| | | return modelList; |
| | | |
| | | |