改了提示语

This commit is contained in:
2025-08-07 16:31:11 +08:00
parent ce707d726f
commit 73d9195dc9

View File

@@ -553,18 +553,18 @@ namespace BarCode.Web.Domain.Services
} }
if (strMes != "" && specNum != "") if (strMes != "" && specNum != "")
{ {
ValueTuple<int, string> IsUseError = (70003, specNum + " 两件装产品,数量需填双数 " + strMes + " 序列码存在已使用, 请选择未使用序列码的数据 "); ValueTuple<int, string> IsUseError = (70003, specNum + " 条码个数为单数, 不支持转两件装!" + strMes + " 序列码存在已使用, 不支持转两件装");
return Result.ReFailure(IsUseError); return Result.ReFailure(IsUseError);
} }
else if (specNum != "") else if (specNum != "")
{ {
ValueTuple<int, string> strMesError = (70005, specNum + " 两件装产品,数量需填双数"); ValueTuple<int, string> strMesError = (70005, specNum + " 条码个数为单数, 不支持转两件装!");
return Result.ReFailure(strMesError); return Result.ReFailure(strMesError);
} }
else if (strMes != "") else if (strMes != "")
{ {
ValueTuple<int, string> strMesError = (70004, strMes + " 序列码存在已使用, 请选择未使用序列码的数据 "); ValueTuple<int, string> strMesError = (70004, strMes + " 序列码存在已使用, 不支持转两件装");
return Result.ReFailure(strMesError); return Result.ReFailure(strMesError);
} }