|
|
@ -106,12 +106,9 @@ public class ProductionLineItemAppService : |
|
|
|
} |
|
|
|
private void CheckProductionLineProdLineCodeJsonAsync(string locationCodeList, List<ValidationResult> validationRresult) |
|
|
|
{ |
|
|
|
if(!string.IsNullOrEmpty(locationCodeList)) |
|
|
|
{ |
|
|
|
if (!locationCodeList.Contains(',')) |
|
|
|
{ |
|
|
|
validationRresult.Add(new ValidationResult($"维护的库位{locationCodeList}不包含,号", new string[] { "库位" })); |
|
|
|
} |
|
|
|
if (!string.IsNullOrEmpty(locationCodeList)) |
|
|
|
{ |
|
|
|
validationRresult.Add(new ValidationResult($"请维护生产线和库位关系")); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|