| | |
| | | else |
| | | { |
| | | //从物料名称-批次中取出批次 |
| | | int indexOfDash = model.LotNo.IndexOf("-"); |
| | | int indexOfDash = model.LotNo.IndexOf("=>"); |
| | | if (indexOfDash != -1) |
| | | { |
| | | model.LotNo = model.LotNo.Substring(indexOfDash + 1); |
| | | model.LotNo = model.LotNo.Substring(indexOfDash + 2); |
| | | } |
| | | else |
| | | { |
| | |
| | | else |
| | | { |
| | | //从物料名称-批次中取出批次 |
| | | int indexOfDash = model.LotNo.IndexOf("-"); |
| | | int indexOfDash = model.LotNo.IndexOf("=>"); |
| | | if (indexOfDash != -1) |
| | | { |
| | | model.LotNo = model.LotNo.Substring(indexOfDash + 1); |
| | | model.LotNo = model.LotNo.Substring(indexOfDash + 2); |
| | | } |
| | | else |
| | | { |