改了提示换行
This commit is contained in:
@@ -505,12 +505,12 @@ namespace BarCode.Web.Domain.Services
|
||||
|
||||
if (spec == "")
|
||||
{
|
||||
spec = y[0].Specifications;
|
||||
spec = y[0].Specifications+" 序列码存在已使用, 请选择未使用序列码的数据 !</br>";
|
||||
// _logger.LogInformation($"获取到:specA:{y[0].Specifications}");
|
||||
}
|
||||
else
|
||||
{
|
||||
spec = spec + "," + y[0].Specifications;
|
||||
spec = spec + y[0].Specifications + " 序列码存在已使用, 请选择未使用序列码的数据 !</br>";
|
||||
// _logger.LogInformation($"获取到:spec:{spec}");
|
||||
}
|
||||
}
|
||||
@@ -538,12 +538,12 @@ namespace BarCode.Web.Domain.Services
|
||||
var y = dto.ids.Where(x => x.Id == generateRecords[i].Id).ToList();
|
||||
if (specNum == "")
|
||||
{
|
||||
specNum = y[0].Specifications;
|
||||
specNum = y[0].Specifications + " 序列码存在已使用, 不支持转两件装!<br>";
|
||||
// _logger.LogInformation($"获取到:specA:{y[0].Specifications}");
|
||||
}
|
||||
else
|
||||
{
|
||||
specNum = specNum + "," + y[0].Specifications;
|
||||
specNum = specNum + y[0].Specifications + " 序列码存在已使用, 不支持转两件装!<br>";
|
||||
// _logger.LogInformation($"获取到:spec:{spec}");
|
||||
}
|
||||
|
||||
@@ -552,18 +552,18 @@ namespace BarCode.Web.Domain.Services
|
||||
}
|
||||
if (strMes != "" && specNum != "")
|
||||
{
|
||||
ValueTuple<int, string> IsUseError = (70003, specNum + " 条码个数为单数, 不支持转两件装!" + strMes + " 序列码存在已使用, 不支持转两件装!");
|
||||
ValueTuple<int, string> IsUseError = (70003, specNum + strMes );
|
||||
return Result.ReFailure(IsUseError);
|
||||
}
|
||||
else if (specNum != "")
|
||||
{
|
||||
ValueTuple<int, string> strMesError = (70005, specNum + " 条码个数为单数, 不支持转两件装!");
|
||||
ValueTuple<int, string> strMesError = (70005, specNum );
|
||||
return Result.ReFailure(strMesError);
|
||||
|
||||
}
|
||||
else if (strMes != "")
|
||||
{
|
||||
ValueTuple<int, string> strMesError = (70004, strMes + " 序列码存在已使用, 不支持转两件装!");
|
||||
ValueTuple<int, string> strMesError = (70004, strMes );
|
||||
return Result.ReFailure(strMesError);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user