| | |
| | | { |
| | | string curBagNum = null; |
| | | string weightBag = null; |
| | | string initBagNum = null; |
| | | if (cntritem.F_QTY > 0) |
| | | { |
| | | curBagNum = cntritem.F_QTY.ToString(); |
| | |
| | | if (!string.IsNullOrEmpty(cntritem.F_WEIGHT1) && int.Parse(cntritem.F_WEIGHT1) > 0) |
| | | { |
| | | weightBag = cntritem.F_WEIGHT1; |
| | | } |
| | | if (!string.IsNullOrEmpty(cntritem.F_QTY1) && int.Parse(cntritem.F_QTY1) > 0) |
| | | { |
| | | initBagNum = cntritem.F_QTY1; |
| | | } |
| | | list.Add(new MesItemBackInfoModel() |
| | | { |
| | |
| | | WmsLot = cntritem.WmsLot, |
| | | WeightBag = weightBag, |
| | | CurBagNum = curBagNum, |
| | | InitBagNum = cntritem.F_QTY1 |
| | | InitBagNum = initBagNum |
| | | }); |
| | | |
| | | |